fix: adapted new treesitter api
This commit is contained in:
@@ -8,9 +8,9 @@ return{
|
|||||||
},
|
},
|
||||||
config = function ()
|
config = function ()
|
||||||
|
|
||||||
local configs = require("nvim-treesitter.configs")
|
local treesitter = require("nvim-treesitter")
|
||||||
|
|
||||||
configs.setup({
|
treesitter.setup({
|
||||||
ensure_installed = { "c", "cpp","haskell", "lua","svelte","python", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
|
ensure_installed = { "c", "cpp","haskell", "lua","svelte","python", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
|
|||||||
Reference in New Issue
Block a user