mirror of
https://github.com/cap153/nvim.git
synced 2026-01-09 21:12:44 +08:00
添加vscode neovim相关配置
This commit is contained in:
parent
59f0ba6a45
commit
d1f5f0a2c8
12 changed files with 217 additions and 57 deletions
|
|
@ -1,9 +1,10 @@
|
|||
return {
|
||||
"nvim-treesitter/nvim-treesitter-context",
|
||||
config = function()
|
||||
vim.keymap.set("n", "[c", function()
|
||||
require("treesitter-context").go_to_context(vim.v.count1)
|
||||
end, { silent = true })
|
||||
-- 前往上下文开始处,winbar相同快捷键更细致
|
||||
-- vim.keymap.set("n", "[c", function()
|
||||
-- require("treesitter-context").go_to_context(vim.v.count1)
|
||||
-- end, { silent = true })
|
||||
require'treesitter-context'.setup{
|
||||
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
|
||||
max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue