Rewrite init.vim to init.lua

This commit is contained in:
Kristofers Solo
2022-08-01 03:45:19 +03:00
parent 7ccb2d3eb3
commit a7bec557b8
29 changed files with 1842 additions and 344 deletions

View File

@@ -0,0 +1,17 @@
local status_ok, configs = pcall(require, 'nvim-treesitter.configs')
if not status_ok then
return
end
configs.setup({
ensure_installed = 'all', -- one of 'all' or a list of languages
ignore_install = { '' }, -- List of parsers to ignore installing
highlight = {
enable = true, -- false will disable the whole extension
disable = { }, -- list of language that will be disabled
},
autopairs = {
enable = true,
},
indent = { enable = true, disable = { } },
})