mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
add: config treesitter context
This commit is contained in:
parent
c762b2584d
commit
70cc034eea
2 changed files with 5 additions and 2 deletions
|
@ -48,7 +48,7 @@ pcode.format_timeout_ms = 5000
|
||||||
pcode.disable_null_ls = true
|
pcode.disable_null_ls = true
|
||||||
|
|
||||||
pcode.treesitter_ensure_installed = {}
|
pcode.treesitter_ensure_installed = {}
|
||||||
|
pcode.tscontext = false
|
||||||
-- ini hanya untuk lsp yg tidak support masson
|
-- ini hanya untuk lsp yg tidak support masson
|
||||||
-- untuk referesi support language kunjungi link dibawah
|
-- untuk referesi support language kunjungi link dibawah
|
||||||
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
||||||
|
|
|
@ -2,7 +2,6 @@ return {
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "nvim-treesitter/nvim-treesitter-context" },
|
|
||||||
{
|
{
|
||||||
"JoosepAlviste/nvim-ts-context-commentstring",
|
"JoosepAlviste/nvim-ts-context-commentstring",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
|
@ -183,4 +182,8 @@ return {
|
||||||
require("illuminate").configure(opts)
|
require("illuminate").configure(opts)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
|
enabled = pcode.tscontext or false,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue