1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00
SpaceVim/bundle/nvim-treesitter/scripts/minimal_init.lua

24 lines
477 B
Lua
Raw Normal View History

vim.opt.runtimepath:append "."
vim.cmd.runtime { "plugin/plenary.vim", bang = true }
vim.cmd.runtime { "plugin/nvim-treesitter.lua", bang = true }
vim.filetype.add {
extension = {
conf = "hocon",
cmm = "t32",
ncl = "nickel",
tig = "tiger",
usd = "usd",
usda = "usd",
wgsl = "wgsl",
},
}
vim.o.swapfile = false
vim.bo.swapfile = false
require("nvim-treesitter.configs").setup {
indent = { enable = true },
highlight = { enable = true },
}