"--c++-kinds=+p",
"--recurse",
]
- if verbose == v:true | cmdline += ["--verbose"] | endif
+ if verbose == true | cmdline += ["--verbose"] | endif
cmdline += ["-f", dst, src]
- if onlyCmd == v:true
+ if onlyCmd == true
echo join(cmdline, " ")
return
endif
execute "!" .. join(cmdline, " ")
- if verbose != v:true | redraw! | endif
+ if verbose != true | redraw! | endif
enddef
+vim9script
if exists("*ctags#Do") | finish | endif
-command! -nargs=1 Ctags silent call ctags#Do(<f-args>, v:false, v:false)
-command! -nargs=1 Ctagsv silent call ctags#Do(<f-args>, v:true, v:false)
-command! -nargs=1 Ctagscmd call ctags#Do(<f-args>, v:true, v:true)
+command! -nargs=1 Ctags silent call ctags#Do(<f-args>, false, false)
+command! -nargs=1 Ctagsv silent call ctags#Do(<f-args>, true, false)
+command! -nargs=1 Ctagscmd call ctags#Do(<f-args>, true, true)
endwhile
var [curly, round, squar, outbuf] = [0, 0, 0, ""]
var ready = [strpart(line, 0, brfirst + 1)]
- var trailingComma = v:true
+ var trailingComma = true
for c in split(line[brfirst + 1 : brlast - 1], '\zs')
- if c ==# "*" | trailingComma = v:false | endif
+ if c ==# "*" | trailingComma = false | endif
if outbuf ==# "" && c ==# " " | continue | endif
outbuf ..= c
if c ==# "," && !curly && !round && !squar
elseif c ==# "}" | curly -= 1
endif
endfor
- if trailingComma && !(singleLineComma == v:true && len(ready) == 1)
+ if trailingComma && !(singleLineComma == true && len(ready) == 1)
outbuf = outbuf .. ","
endif
ready = add(ready, prfx .. shift .. outbuf)
# go get golang.org/x/tools/gopls@latest
# pip install 'python-language-server[all]'
-g:lsc_enable_autocomplete = v:false
+g:lsc_enable_autocomplete = false
g:lsc_server_commands = {
c: {command: "clangd --log=error"},
cpp: {command: "clangd --log=error"},
workspace_config: {pyls: {
configurationSources: ["flake8"],
plugins: {
- mccabe: {enabled: v:false},
+ mccabe: {enabled: false},
},
}},
- enabled: v:false,
+ enabled: false,
},
}
g:lsc_auto_map = {
GoToDefinition: "gd",
GoToDefinitionSplit: "<C-W>gd",
- ShowHover: v:true,
+ ShowHover: true,
Completion: "omnifunc",
}