rewrite nvim config to lua
Signed-off-by: Lucas Sta Maria <lucas.stamaria@gmail.com>
This commit is contained in:
parent
8e420fbf97
commit
c293767edf
9 changed files with 294 additions and 10 deletions
35
.config/nvim/lua/treesitter.lua
Normal file
35
.config/nvim/lua/treesitter.lua
Normal file
|
@ -0,0 +1,35 @@
|
|||
local ts_config = require("nvim-treesitter.configs")
|
||||
|
||||
ts_config.setup {
|
||||
ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"cpp",
|
||||
"css",
|
||||
"haskell",
|
||||
"html",
|
||||
"java",
|
||||
"javascript",
|
||||
"json",
|
||||
"latex",
|
||||
"lua",
|
||||
"make",
|
||||
"markdown",
|
||||
"ocaml",
|
||||
"python",
|
||||
"regex",
|
||||
"rust",
|
||||
"scss",
|
||||
"svelte",
|
||||
"toml",
|
||||
"tsx",
|
||||
"typescript",
|
||||
"vim",
|
||||
"vue",
|
||||
"yaml"
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
use_languagetree = true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue