mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
5c4892b055
This is the actual name of the detected filetype.
25 lines
512 B
Lua
25 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 },
|
|
}
|