21 lines
456 B
Lua
21 lines
456 B
Lua
local config = require('cosmic.config')
|
|
require('nvim-treesitter.configs').setup({
|
|
ensure_installed = config.treesitter.ensure_installed,
|
|
highlight = {
|
|
enable = true,
|
|
use_languagetree = true,
|
|
},
|
|
indent = {
|
|
enable = true,
|
|
},
|
|
autotag = {
|
|
enable = true,
|
|
},
|
|
context_commentstring = {
|
|
enable = true,
|
|
},
|
|
refactor = {
|
|
highlight_definitions = { enable = true },
|
|
highlight_current_scope = { enable = false },
|
|
},
|
|
})
|