mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
* Add textproto parser and queries * remove extra newline * Apply suggestions from code review Co-authored-by: ObserverOfTime <chronobserver@disroot.org> --------- Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
27 lines
541 B
Lua
27 lines
541 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",
|
|
textproto = "textproto",
|
|
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 },
|
|
}
|