Files
nvim-treesitter/scripts/minimal_init.lua
PorterAtGoogle b4f6dd7298 feat(textproto): Add Textproto parser and queries (#5402)
* 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>
2023-09-19 01:26:02 +09:00

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 },
}