mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
5057753431
- Don't assume b:undo_ftplugin is set when first modifying it. - Don't assume b:undo_ftplugin already contains some resetting.
5 lines
145 B
Lua
5 lines
145 B
Lua
-- use treesitter over syntax
|
|
vim.treesitter.start()
|
|
|
|
vim.b.undo_ftplugin = (vim.b.undo_ftplugin or '') .. '\n call v:lua.vim.treesitter.stop()'
|