mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
refactor!: update to Neovim 0.7 APIs
* set highlight groups via nvim_set_hl * define autocommands via nvim_create_autocmd * port plugin/nvim-treesitter.vim to Lua * port healthcheck to Lua
This commit is contained in:
parent
bc25a6a5c4
commit
07eb437bb1
8 changed files with 168 additions and 148 deletions
|
|
@ -1,6 +1,6 @@
|
|||
vim.cmd [[set runtimepath+=.]]
|
||||
vim.cmd [[runtime! plugin/plenary.vim]]
|
||||
vim.cmd [[runtime! plugin/nvim-treesitter.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]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue