better config structure
This commit is contained in:
19
lua/treesitter-nvim.lua
Normal file
19
lua/treesitter-nvim.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
local ts_config = require("nvim-treesitter.configs")
|
||||
|
||||
ts_config.setup {
|
||||
ensure_installed = {
|
||||
"javascript",
|
||||
"html",
|
||||
"css",
|
||||
"bash",
|
||||
"lua",
|
||||
"json",
|
||||
"python"
|
||||
-- "cpp",
|
||||
-- "rust",
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
use_languagetree = true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user