mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
remove unnecessary ft aus
specify specific plugin files to load
This commit is contained in:
parent
4c35c0b75d
commit
217467c262
1 changed files with 10 additions and 6 deletions
|
|
@ -1,11 +1,15 @@
|
|||
vim.opt.runtimepath:append "."
|
||||
vim.cmd [[runtime! plugin/plenary.vim]]
|
||||
vim.cmd [[runtime! plugin/nvim-treesitter.lua]]
|
||||
vim.cmd.runtime { "plugin/plenary.vim", bang = true }
|
||||
vim.cmd.runtime { "plugin/nvim-treesitter.lua", bang = true }
|
||||
|
||||
vim.cmd [[au BufRead,BufNewFile *.conf set filetype=hocon]]
|
||||
vim.cmd [[au BufRead,BufNewFile *.gleam set filetype=gleam]]
|
||||
vim.cmd [[au BufRead,BufNewFile *.ncl set filetype=nickel]]
|
||||
vim.cmd [[au BufRead,BufNewFile *.usd,*.usda set filetype=usd]]
|
||||
vim.filetype.add {
|
||||
extension = {
|
||||
conf = "hocon",
|
||||
ncl = "nickel",
|
||||
usd = "usd",
|
||||
usda = "usd",
|
||||
},
|
||||
}
|
||||
|
||||
vim.o.swapfile = false
|
||||
vim.bo.swapfile = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue