refactor + feat: replaced nvim-cmp w/ coq_nvim and refactored everything
This commit is contained in:
parent
f82cc2bc93
commit
7a906314d8
19 changed files with 435 additions and 311 deletions
50
lua/core/plugins/parser.lua
Normal file
50
lua/core/plugins/parser.lua
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
-- Homepage: https://github.com/nvim-treesitter/nvim-treesitter
|
||||
|
||||
-- What is this?
|
||||
-- Basically helps making use of `tree-sitter` (parser-generating tool) and
|
||||
-- provides highlighting
|
||||
-- Based on language parsers, queries, and modules to work.
|
||||
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
configs.setup({
|
||||
ensure_installed = {
|
||||
"lua",
|
||||
"cpp",
|
||||
"java",
|
||||
"javascript",
|
||||
"bash",
|
||||
"python",
|
||||
"typescript",
|
||||
"css",
|
||||
"html",
|
||||
"jsdoc",
|
||||
"http",
|
||||
"sql",
|
||||
"ssh_config",
|
||||
"json",
|
||||
"tsx",
|
||||
"xml",
|
||||
"yaml",
|
||||
"nginx",
|
||||
"gitcommit",
|
||||
"gitignore",
|
||||
"cmake"
|
||||
},
|
||||
sync_install = true,
|
||||
auto_intsall = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false
|
||||
},
|
||||
ident = { enable = true },
|
||||
autopairs = {
|
||||
enable = true
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue