mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 09:50:04 +08:00
26 lines
512 B
Lua
26 lines
512 B
Lua
|
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",
|
||
|
hurl = "hurl",
|
||
|
ncl = "nickel",
|
||
|
tig = "tiger",
|
||
|
usd = "usd",
|
||
|
usda = "usd",
|
||
|
wgsl = "wgsl",
|
||
|
w = "wing",
|
||
|
},
|
||
|
}
|
||
|
|
||
|
vim.o.swapfile = false
|
||
|
vim.bo.swapfile = false
|
||
|
|
||
|
require("nvim-treesitter.configs").setup {
|
||
|
indent = { enable = true },
|
||
|
highlight = { enable = true },
|
||
|
}
|