You've already forked dotfiles
configurations and using newer built-in functionality in the 0.12.x versions of Neovim. Further work is needed for treesitter updates, cleanup of the conversion work and testing to verify old functionality isn't lessened to get the benefits of a cleaner config and vastly faster load times.
56 lines
1.2 KiB
Lua
56 lines
1.2 KiB
Lua
vim.pack.add({
|
|
'https://github.com/nvim-treesitter/nvim-treesitter'
|
|
})
|
|
|
|
-- require('nvim-treesitter.configs').setup {
|
|
-- auto_install = true,
|
|
-- ensure_installed = {
|
|
-- 'c',
|
|
-- 'c_sharp',
|
|
-- 'comment',
|
|
-- 'css',
|
|
-- 'gdscript',
|
|
-- 'gitignore',
|
|
-- 'html',
|
|
-- 'java',
|
|
-- 'javascript',
|
|
-- 'json',
|
|
-- 'lua',
|
|
-- 'markdown',
|
|
-- 'markdown_inline',
|
|
-- 'python',
|
|
-- 'query',
|
|
-- 'rust',
|
|
-- 'sql',
|
|
-- 'tera',
|
|
-- 'toml',
|
|
-- 'tsx',
|
|
-- 'typescript',
|
|
-- 'yaml',
|
|
-- },
|
|
-- highlight = {
|
|
-- enable = true,
|
|
-- additional_vim_regex_highlighting = false,
|
|
-- },
|
|
-- incremental_selection = {
|
|
-- enable = true,
|
|
-- },
|
|
-- indent = {
|
|
-- enable = true,
|
|
-- },
|
|
-- rainbow = {
|
|
-- enable = true,
|
|
-- }
|
|
-- }
|
|
|
|
vim.treesitter.language.register('markdown', 'telekasten')
|
|
|
|
-- return {
|
|
-- 'nvim-treesitter/nvim-treesitter',
|
|
-- build = function()
|
|
-- require('nvim-treesitter.install').update({ with_sync = true })
|
|
-- end,
|
|
-- config = function()
|
|
-- end,
|
|
-- }
|