chore: cleaning up (remove and rename files, refactor config, fix errors)
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
'Dynge/gitmoji.nvim',
|
||||
dependencies = {
|
||||
'hrsh7th/nvim-cmp',
|
||||
},
|
||||
ft = 'gitcommit',
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
return {
|
||||
'williamboman/mason-lspconfig.nvim',
|
||||
dependencies = {
|
||||
'williamboman/mason.nvim',
|
||||
},
|
||||
lazy = true,
|
||||
}
|
||||
@@ -1,45 +1,34 @@
|
||||
return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
-- event = { "BufReadPre", "BufNewFile" },
|
||||
lazy = true,
|
||||
cmd = { 'TSUpdateSync', 'TSUpdate', 'TSInstall' },
|
||||
branch = 'master',
|
||||
lazy = false,
|
||||
build = ':TSUpdate',
|
||||
|
||||
opts = {
|
||||
sync_install = true,
|
||||
auto_install = true,
|
||||
ensure_installed = {
|
||||
'lua',
|
||||
'markdown',
|
||||
'markdown_inline',
|
||||
'css',
|
||||
'html',
|
||||
'javascript',
|
||||
'json',
|
||||
'xml',
|
||||
'toml',
|
||||
'yaml',
|
||||
'python',
|
||||
'bash',
|
||||
'diff',
|
||||
'regex',
|
||||
'sql',
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
indent = { enable = true, disable = {} },
|
||||
ensure_installed = {
|
||||
'bash',
|
||||
'css',
|
||||
'diff',
|
||||
'dockerfile',
|
||||
'git_config',
|
||||
'git_rebase',
|
||||
'gitcommit',
|
||||
'gitignore',
|
||||
'graphql',
|
||||
'html',
|
||||
'javascript',
|
||||
'json',
|
||||
'lua',
|
||||
'markdown',
|
||||
'markdown_inline',
|
||||
'python',
|
||||
'regex',
|
||||
'sql',
|
||||
'todotxt',
|
||||
'vim',
|
||||
'vimdoc',
|
||||
'xml',
|
||||
'tmux',
|
||||
'toml',
|
||||
'yaml',
|
||||
},
|
||||
ignore_install = {},
|
||||
sync_install = true,
|
||||
auto_install = true,
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
@@ -50,4 +39,8 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
config = function(_, opts)
|
||||
require('nvim-treesitter.configs').setup(opts)
|
||||
end,
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
'JoosepAlviste/nvim-ts-context-commentstring',
|
||||
enabled = true,
|
||||
dependencies = { 'numToStr/Comment.nvim' },
|
||||
event = 'VeryLazy',
|
||||
opts = {
|
||||
enable_autocmd = false,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user