A possible workaround is to clear the ext mark before commenting (https://github.com/numToStr/Comment.nvim#pre-hook) pre_hook = function(ctx) local line_start = (ctx.srow or ctx.range.srow) - 1 local line_end = ctx.erow or ctx.range.erow require("lsp-inlayhints.core").clear(0...
Comment.nvimvisualgbblock comment nvim-treetree-view?show help Telescopetelescope-normal?which key Telescopetelescope-insert<C-_>which key undotreeundotree-view?show help vim-surroundnormalcs<old><new>change old surround char to new vim-surroundnormalcst<new>change full circle to new ...
ls.config.set_config({ history = true, -- Update more often, :h events for more info. updateevents = "TextChanged,TextChangedI", ext_opts = { [types.choiceNode] = { active = { virt_text = { { "choiceNode", "Comment" } }, }, }, }, -- treesitter-hl has 100, use somethi...
首先定义一个局部变量lazypath,它是Lazy.nvim插件的存放路径,通常位于~\.local\share\nvim\lazy\目录下。 然后检测Lazy.nvim是否被安装,如果在lazypath中没有找到它,就通过Git克隆这个插件到lazypath。 最后将lazypath加入runtimepath,这样Neovim就能找到插件。 配置Lazy.nvim 在Lazy.nvim中,使用.setup方法配置laz...
nvim ~/.config/nvim/after/plugin/kommentary.lua treesitter.setup { context_commentstring = { enable = true, enable_autocmd = false, context_commentstring = { enable = true, config = { javascript = { __default = "// %s", jsx_element = "{/* %s */}", jsx_fragment = "{/* %s...
- INFO: rhs: `<Plug>(comment_toggle_blockwise)` - WARNING: conflicting keymap exists for mode **"n"**, lhs: **"gc"** - INFO: rhs: `<Plug>(comment_toggle_linewise)` - WARNING: conflicting keymap exists for mode **"n"**, lhs: **"zf"** ...
LazyCommentComment LazyCommit@variable.builtincommit ref LazyCommitIssueNumber LazyCommitScopeItalicconventional commit scope LazyCommitTypeTitleconventional commit type LazyDimmedConcealproperty LazyDir@text.referencedirectory LazyH1IncSearchhome button LazyH2Boldtitles ...
caw.vimaka comment anywhere, is a plugin for commenting out lines of code. " caw.vim {{{if neobundle#is_installed('caw.vim')nmap <Leader>c <Plug>(caw:I:toggle)vmap <Leader>c <Plug>(caw:I:toggle)endif"}}} I’m assigningbackslash cto toggle commenting and uncommenting. ...
mini.ai Introduction of new module. mini.comment FEATURE: Now hooks can be used to terminate further actions by returningfalse(#108). mini.indentscope BREAKING: Soft deprecatevim.b.miniindentscope_optionsin favor of usingoptionsfield ofminiindentscope_config. ...
scripts docs: cleanup formatting and comment typos (#696) May 30, 2022 tests Fixup: fix flickering in lualine (#1316) Nov 7, 2024 .gitignore chore: ignore .luarc.json file Mar 30, 2023 .luacheckrc chore: update contribution instructions Nov 18, 2021 ...