1
0
Fork 0

Update treesitter config

This commit is contained in:
Felipe Contreras 2022-06-08 20:16:56 -04:00
parent 749e6a29ec
commit 44a89642df

View file

@ -62,7 +62,32 @@ map('n','<C-L>',':nohlsearch<CR>')
---- Treesitter ----
local ts = require 'nvim-treesitter.configs'
ts.setup {ensure_installed = 'maintained', highlight = {enable = true, indent = true}}
ts.setup {
ensure_installed = {
'bash',
'c',
'cpp',
'css',
'dockerfile',
'dot',
'go',
'html',
'http',
'javascript',
'json',
'latex',
'markdown',
'perl',
'php',
'python',
'rust',
'scss',
'toml',
'typescript',
'vim',
'yaml',
},
highlight = {enable = true, indent = true}}
---- LSP ----
local lsp = require 'lspconfig'