mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
Added USD highlight unittests Added USD indentation Added USD indents.scm file Added USD indent rules Simplified USD highlight groups Added explicit highlight groups Added newline Removed after/ftdetect/usda.lua usd/indents.scm - Added inline comments explaining the nodes Fixed USD highlight group unittests Added indentation unittests Simplified USD `@identifier` highlighting Added USD documentation highlight group tests Simplified USD highlight groups Moved USD `@identifier` and `@namespace` highlights into one place Removed and simplified tests/query/highlights/usd Simplified tests/query/highlights/usd more Removed trailing newline Combined USD test files Added `set filetype=usd` to minimal_init.lua
17 lines
522 B
Lua
17 lines
522 B
Lua
vim.opt.runtimepath:append "."
|
|
vim.cmd [[runtime! plugin/plenary.vim]]
|
|
vim.cmd [[runtime! plugin/nvim-treesitter.lua]]
|
|
|
|
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.o.swapfile = false
|
|
vim.bo.swapfile = false
|
|
|
|
require("nvim-treesitter.configs").setup {
|
|
indent = { enable = true },
|
|
highlight = { enable = true },
|
|
}
|