huge refactor
- tidy up - shuffle code around - use same abstractions for all usecases
This commit is contained in:
parent
9570523e75
commit
721bc03588
12 changed files with 116 additions and 178 deletions
|
@ -1,2 +1,3 @@
|
|||
-- nvim-compe
|
||||
require('config.compe')
|
||||
require('config.treesitter')
|
||||
|
|
19
lua/config/treesitter.lua
Normal file
19
lua/config/treesitter.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = { "lua", "rust", "elm", "python", "yaml", "toml" },
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting=false,
|
||||
},
|
||||
ident = {
|
||||
enable = true,
|
||||
},
|
||||
rainbow = {
|
||||
enable = true,
|
||||
extended_mode = false,
|
||||
max_file_lines = nil,
|
||||
}
|
||||
}
|
||||
|
||||
vim.api.nvim_set_hl(0, "@variable", { })
|
||||
vim.api.nvim_set_hl(0, "@parameter", { })
|
Reference in a new issue