Refresh generated neovim config
This commit is contained in:
@ -25,8 +25,7 @@
|
||||
'numToStr/Comment.nvim',
|
||||
opts = {
|
||||
-- add any options here
|
||||
},
|
||||
lazy = false,
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@ -32,6 +32,7 @@ local M = {
|
||||
twig = '{#%s#}',
|
||||
vim = '"%s',
|
||||
lean_b = '/-%s-/',
|
||||
ruby_block = '=begin%s=end',
|
||||
}
|
||||
|
||||
---Lang table that contains commentstring (linewise/blockwise) for multiple filetypes
|
||||
@ -40,23 +41,28 @@ local M = {
|
||||
local L = setmetatable({
|
||||
arduino = { M.cxx_l, M.cxx_b },
|
||||
applescript = { M.hash },
|
||||
asm = { M.hash },
|
||||
astro = { M.html },
|
||||
autohotkey = { M.semicolon, M.cxx_b },
|
||||
bash = { M.hash },
|
||||
beancount = { M.semicolon },
|
||||
bib = { M.latex },
|
||||
blueprint = { M.cxx_l }, -- Blueprint doesn't have block comments
|
||||
c = { M.cxx_l, M.cxx_b },
|
||||
cabal = { M.dash },
|
||||
cairo = { M.cxx_l },
|
||||
cmake = { M.hash, M.hash_bracket },
|
||||
conf = { M.hash },
|
||||
conkyrc = { M.dash, M.dash_bracket },
|
||||
coq = { M.fsharp_b },
|
||||
coq = { M.fsharp_b, M.fsharp_b },
|
||||
cpp = { M.cxx_l, M.cxx_b },
|
||||
cs = { M.cxx_l, M.cxx_b },
|
||||
css = { M.cxx_b, M.cxx_b },
|
||||
cuda = { M.cxx_l, M.cxx_b },
|
||||
cue = { M.cxx_l },
|
||||
dart = { M.cxx_l, M.cxx_b },
|
||||
dhall = { M.dash, M.haskell_b },
|
||||
dnsmasq = { M.hash },
|
||||
dosbatch = { 'REM%s' },
|
||||
dot = { M.cxx_l, M.cxx_b },
|
||||
dts = { M.cxx_l, M.cxx_b },
|
||||
@ -72,6 +78,7 @@ local L = setmetatable({
|
||||
fsharp = { M.cxx_l, M.fsharp_b },
|
||||
gdb = { M.hash },
|
||||
gdscript = { M.hash },
|
||||
gdshader = { M.cxx_l, M.cxx_b },
|
||||
gitignore = { M.hash },
|
||||
gleam = { M.cxx_l },
|
||||
glsl = { M.cxx_l, M.cxx_b },
|
||||
@ -83,18 +90,23 @@ local L = setmetatable({
|
||||
handlebars = { M.handlebars, M.handlebars },
|
||||
haskell = { M.dash, M.haskell_b },
|
||||
haxe = { M.cxx_l, M.cxx_b },
|
||||
hcl = { M.hash, M.cxx_b },
|
||||
heex = { M.html, M.html },
|
||||
html = { M.html, M.html },
|
||||
htmldjango = { M.html, M.html },
|
||||
hyprlang = { M.hash },
|
||||
idris = { M.dash, M.haskell_b },
|
||||
idris2 = { M.dash, M.haskell_b },
|
||||
ini = { M.hash },
|
||||
jai = { M.cxx_l, M.cxx_b },
|
||||
java = { M.cxx_l, M.cxx_b },
|
||||
javascript = { M.cxx_l, M.cxx_b },
|
||||
javascriptreact = { M.cxx_l, M.cxx_b },
|
||||
jq = { M.hash },
|
||||
jsonc = { M.cxx_l },
|
||||
jsonnet = { M.cxx_l, M.cxx_b },
|
||||
julia = { M.hash, '#=%s=#' },
|
||||
kdl = { M.cxx_l, M.cxx_b },
|
||||
kotlin = { M.cxx_l, M.cxx_b },
|
||||
lean = { M.dash, M.lean_b },
|
||||
lean3 = { M.dash, M.lean_b },
|
||||
@ -102,20 +114,26 @@ local L = setmetatable({
|
||||
lilypond = { M.latex, '%{%s%}' },
|
||||
lisp = { M.lisp_l, M.lisp_b },
|
||||
lua = { M.dash, M.dash_bracket },
|
||||
metalua = { M.dash, M.dash_bracket },
|
||||
luau = { M.dash, M.dash_bracket },
|
||||
markdown = { M.html, M.html },
|
||||
make = { M.hash },
|
||||
mbsyncrc = { M.dbl_hash },
|
||||
mermaid = { '%%%s' },
|
||||
meson = { M.hash },
|
||||
mojo = { M.hash },
|
||||
nextflow = { M.cxx_l, M.cxx_b },
|
||||
nim = { M.hash, '#[%s]#' },
|
||||
nix = { M.hash, M.cxx_b },
|
||||
nu = { M.hash },
|
||||
objc = { M.cxx_l, M.cxx_b },
|
||||
objcpp = { M.cxx_l, M.cxx_b },
|
||||
ocaml = { M.fsharp_b, M.fsharp_b },
|
||||
odin = { M.cxx_l, M.cxx_b },
|
||||
openscad = { M.cxx_l, M.cxx_b },
|
||||
plantuml = { "'%s", "/'%s'/" },
|
||||
purescript = { M.dash, M.haskell_b },
|
||||
puppet = { M.hash },
|
||||
python = { M.hash }, -- Python doesn't have block comments
|
||||
php = { M.cxx_l, M.cxx_b },
|
||||
prisma = { M.cxx_l },
|
||||
@ -125,15 +143,17 @@ local L = setmetatable({
|
||||
racket = { M.lisp_l, M.lisp_b },
|
||||
rasi = { M.cxx_l, M.cxx_b },
|
||||
readline = { M.hash },
|
||||
reason = { M.cxx_l, M.cxx_b },
|
||||
rego = { M.hash },
|
||||
remind = { M.hash },
|
||||
rescript = { M.cxx_l, M.cxx_b },
|
||||
robot = { M.hash }, -- Robotframework doesn't have block comments
|
||||
ron = { M.cxx_l, M.cxx_b },
|
||||
ruby = { M.hash },
|
||||
ruby = { M.hash, M.ruby_block },
|
||||
rust = { M.cxx_l, M.cxx_b },
|
||||
sbt = { M.cxx_l, M.cxx_b },
|
||||
scala = { M.cxx_l, M.cxx_b },
|
||||
scss = { M.cxx_b, M.cxx_b },
|
||||
scheme = { M.lisp_l, M.lisp_b },
|
||||
sh = { M.hash },
|
||||
solidity = { M.cxx_l, M.cxx_b },
|
||||
@ -143,11 +163,13 @@ local L = setmetatable({
|
||||
svelte = { M.html, M.html },
|
||||
swift = { M.cxx_l, M.cxx_b },
|
||||
sxhkdrc = { M.hash },
|
||||
systemverilog = { M.cxx_l, M.cxx_b },
|
||||
tablegen = { M.cxx_l, M.cxx_b },
|
||||
teal = { M.dash, M.dash_bracket },
|
||||
terraform = { M.hash, M.cxx_b },
|
||||
tex = { M.latex },
|
||||
template = { M.dbl_hash },
|
||||
tidal = { M.dash, M.haskell_b },
|
||||
tmux = { M.hash },
|
||||
toml = { M.hash },
|
||||
twig = { M.twig, M.twig },
|
||||
@ -155,11 +177,13 @@ local L = setmetatable({
|
||||
typescriptreact = { M.cxx_l, M.cxx_b },
|
||||
typst = { M.cxx_l, M.cxx_b },
|
||||
v = { M.cxx_l, M.cxx_b },
|
||||
vala = { M.cxx_l, M.cxx_b },
|
||||
verilog = { M.cxx_l },
|
||||
vhdl = { M.dash },
|
||||
vim = { M.vim },
|
||||
vifm = { M.vim },
|
||||
vue = { M.html, M.html },
|
||||
wgsl = { M.cxx_l, M.cxx_b },
|
||||
xdefaults = { '!%s' },
|
||||
xml = { M.html, M.html },
|
||||
xonsh = { M.hash }, -- Xonsh doesn't have block comments
|
||||
|
||||
Reference in New Issue
Block a user