Update treesitter config
This commit is contained in:
parent
749e6a29ec
commit
44a89642df
1 changed files with 26 additions and 1 deletions
27
init.lua
27
init.lua
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue