1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
224ead3156 dont use deprecated function 2023-06-05 22:44:11 +03:00
4cc65a0302 fix mason.nvim configuration 2023-06-05 22:43:53 +03:00
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ local function get_options(server_name)
}
end
require("mason").setup()
require("mason-lspconfig").setup()
require("mason-lspconfig").setup_handlers{
function (server_name) -- default handler (optional)

View File

@ -1,5 +1,5 @@
local ts = vim.treesitter
local query = ts.parse_query("c", [[
local query = ts.query.parse("c", [[
(preproc_function_def value: (preproc_arg) @macro_def)
(preproc_def value: (preproc_arg) @macro_def)
]])