Refactor treesitter config
This commit is contained in:
parent
b2638165ff
commit
8818bd0a7a
8
init.lua
8
init.lua
@ -56,8 +56,12 @@ utils.opt('o', 'showmatch', true)
|
|||||||
-------------------- AUTOCOMMANDS --------------------------
|
-------------------- AUTOCOMMANDS --------------------------
|
||||||
require("autocommands")
|
require("autocommands")
|
||||||
-------------------- TREE-SITTER ---------------------------
|
-------------------- TREE-SITTER ---------------------------
|
||||||
local ts = require 'nvim-treesitter.configs'
|
require('nvim-treesitter.configs').setup({
|
||||||
ts.setup {ensure_installed = 'maintained', highlight = {enable = true}}
|
ensure_installed = 'maintained',
|
||||||
|
highlight = {
|
||||||
|
enable = true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
-------------------- FZF -----------------------------------
|
-------------------- FZF -----------------------------------
|
||||||
--utils.map('n', '<C-P>', ':FZF<CR>')
|
--utils.map('n', '<C-P>', ':FZF<CR>')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user