summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/nvim/after/plugin/treesitter.lua16
-rw-r--r--.config/nvim/lua/pack.lua2
2 files changed, 16 insertions, 2 deletions
diff --git a/.config/nvim/after/plugin/treesitter.lua b/.config/nvim/after/plugin/treesitter.lua
index 07027b9..c34af23 100644
--- a/.config/nvim/after/plugin/treesitter.lua
+++ b/.config/nvim/after/plugin/treesitter.lua
@@ -1,6 +1,20 @@
require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" (the five listed parsers should always be installed)
- ensure_installed = { 'c', 'cpp', 'lua', 'vim', 'vimdoc', 'query', 'go', 'rust', 'yaml', 'regex', 'markdown', 'markdown_inline' },
+ ensure_installed = {
+ 'c',
+ 'cpp',
+ 'lua',
+ 'vim',
+ 'vimdoc',
+ 'query',
+ 'go',
+ 'rust',
+ 'yaml',
+ 'regex',
+ 'markdown',
+ 'markdown_inline',
+ 'comment'
+ },
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
diff --git a/.config/nvim/lua/pack.lua b/.config/nvim/lua/pack.lua
index c63409a..854afe8 100644
--- a/.config/nvim/lua/pack.lua
+++ b/.config/nvim/lua/pack.lua
@@ -113,7 +113,7 @@ return require('packer').startup({function(use)
'folke/todo-comments.nvim',
requires = { {'nvim-lua/plenary.nvim'} },
config = function()
- require('todo-comments.config').setup()
+ require('todo-comments.config').setup{}
require('todo-comments')
end
})