robin/laufey

tiny neovim fork for cozy coding

git clone https://git.robinwobin.dev/robin/laufey

robinmerge: 1dc9728daa1d8a2702

master
190 files

files

README.txt1.7 KiB
aap.vim331 B
ada.vim11.1 KiB
ant.vim290 B
arduino.vim356 B
astro.vim2.4 KiB
automake.vim243 B
awk.vim7.7 KiB
bash.vim390 B
basic.vim250 B
beancount.vim1.4 KiB
bib.vim346 B
bitbake.vim583 B
bpftrace.vim489 B
bst.vim1.9 KiB
bzl.vim2.9 KiB
c.vim391 B
cabal.vim2.5 KiB
cdl.vim4.3 KiB
ch.vim556 B
chaiscript.vim1.2 KiB
changelog.vim264 B
chatito.vim731 B
clojure.vim11.3 KiB
cmake.vim3.0 KiB
cobol.vim8.6 KiB
config.vim2.2 KiB
context.vim752 B
cpp.vim395 B
cs.vim1.9 KiB
css.vim1.8 KiB
cucumber.vim2.9 KiB
cuda.vim371 B
d.vim605 B
dictconf.vim411 B
dictdconf.vim414 B
docbk.vim336 B
dosbatch.vim1.3 KiB
dtd.vim11.8 KiB
dtrace.vim451 B
dts.vim1.7 KiB
dune.vim430 B
dylan.vim2.7 KiB
eiffel.vim3.2 KiB
elm.vim3.2 KiB
erlang.vim50.7 KiB
eruby.vim2.9 KiB
eterm.vim743 B
expect.vim207 B
falcon.vim13.8 KiB
fennel.vim273 B
fish.vim2.7 KiB
fortran.vim7.7 KiB
framescript.vim891 B
freebasic.vim237 B
gdscript.vim4.4 KiB
gitconfig.vim841 B
gitolite.vim1.3 KiB
glsl.vim320 B
go.vim1.7 KiB
graphql.vim2.8 KiB
gyp.vim169 B
haml.vim2.2 KiB
hamster.vim1.7 KiB
handlebars.vim3.9 KiB
hare.vim4.4 KiB
hcl.vim1.2 KiB
hip.vim369 B
hlsl.vim304 B
hog.vim1.8 KiB
html.vim33.3 KiB
htmldjango.vim273 B
idlang.vim1.7 KiB
idris2.vim4.4 KiB
ishd.vim1.8 KiB
j.vim1.8 KiB
java.vim4.2 KiB
javascript.vim15.2 KiB
javascriptreact.vim109 B
json.vim4.5 KiB
json5.vim231 B
jsonc.vim4.7 KiB
jsonld.vim150 B
jsp.vim462 B
julia.vim15.5 KiB
just.vim1.3 KiB
karel.vim3.9 KiB
kdl.vim819 B
kotlin.vim1.5 KiB
krl.vim4.3 KiB
ld.vim1.8 KiB
less.vim243 B
lf.vim327 B
lifelines.vim638 B
liquid.vim2.0 KiB
lisp.vim349 B
livebook.vim206 B
logtalk.vim1.9 KiB
lua.vim2.3 KiB
luau.vim4.5 KiB
m17ndb.vim289 B
mail.vim385 B
make.vim3.8 KiB
matlab.vim4.8 KiB
meson.vim5.2 KiB
mf.vim156 B
mma.vim2.3 KiB
mojo.vim137 B
mp.vim11.1 KiB
nginx.vim1.7 KiB
nsis.vim3.2 KiB
nu.vim1.3 KiB
objc.vim1.6 KiB
obse.vim1.4 KiB
ocaml.vim9.1 KiB
occam.vim4.6 KiB
odin.vim3.7 KiB
pascal.vim5.7 KiB
perl.vim5.9 KiB
php.vim25.8 KiB
postscr.vim1.6 KiB
pov.vim2.7 KiB
prolog.vim1.9 KiB
proto.vim405 B
ps1.vim410 B
pyrex.vim326 B
python.vim886 B
qb64.vim232 B
qml.vim1.3 KiB
quarto.vim23 B
query.lua107 B
r.vim14.1 KiB
racket.vim3.3 KiB
raku.vim3.5 KiB
raml.vim285 B
rapid.vim8.0 KiB
readline.vim786 B
rhelp.vim3.0 KiB
rmd.vim2.4 KiB
rnoweb.vim1.2 KiB
rpl.vim1.8 KiB
rrst.vim1.3 KiB
rst.vim2.1 KiB
ruby.vim30.4 KiB
rust.vim10.2 KiB
sas.vim5.2 KiB
sass.vim926 B
scala.vim19.3 KiB
scheme.vim479 B
scss.vim191 B
sdl.vim2.8 KiB
sh.vim10.6 KiB
sml.vim6.4 KiB
solidity.vim12.6 KiB
spajson.vim146 B
sql.vim1.2 KiB
sqlanywhere.vim13.0 KiB
sshconfig.vim796 B
stylus.vim3.1 KiB
systemverilog.vim10.6 KiB
tcl.vim2.5 KiB
tcsh.vim1.3 KiB
teraterm.vim1.4 KiB
terraform.vim223 B
tex.vim13.5 KiB
tf.vim1.6 KiB
thrift.vim1.7 KiB
tilde.vim1.1 KiB
treetop.vim785 B
typescript.vim12.8 KiB
typescriptreact.vim109 B
typst.vim473 B
vb.vim4.7 KiB
verilog.vim8.1 KiB
vhdl.vim14.4 KiB
vim.vim6.6 KiB
vroom.vim379 B
vue.vim385 B
wat.vim458 B
xf86conf.vim786 B
xhtml.vim325 B
xinetd.vim1.3 KiB
xml.vim8.6 KiB
xsd.vim253 B
xslt.vim297 B
yacc.vim858 B
yaml.vim6.3 KiB
zig.vim2.1 KiB
zimbu.vim3.9 KiB
zsh.vim411 B
This directory contains files to automatically compute the indent for a
type of file.

If you want to add your own indent file for your personal use, read the docs
at ":help indent-expression".  Looking at the existing files should give you
inspiration.

If you make a new indent file which would be useful for others, please send it
to the vim-dev mailing list <vim-dev@vim.org>.  Include instructions for
detecting the file type for this language, by file name extension or by
checking a few lines in the file. And please stick to the rules below.

If you have remarks about an existing file, send them to the maintainer of
that file.  Only when you get no response send a message to the vim-dev
mailing list: <vim-dev@vim.org>.

If you are the maintainer of an indent file and make improvements, e-mail the
new version to the vim-dev mailing list: <vim-dev@vim.org>.


Rules for making an indent file:

You should use this check for "b:did_indent":

	" Only load this indent file when no other was loaded yet.
	if exists("b:did_indent")
	  finish
	endif
	let b:did_indent = 1

Always use ":setlocal" to set 'indentexpr'.  This avoids it being carried over
to other buffers.

To trigger the indenting after typing a word like "endif", add the word to the
'indentkeys' option with "+=".

You normally set 'indentexpr' to evaluate a function and then define that
function.  That function only needs to be defined once for as long as Vim is
running.  Add a test if the function exists and use ":finish", like this:
	if exists("*GetMyIndent")
	  finish
	endif

The user may have several options set unlike you, try to write the file such
that it works with any option settings.  Also be aware of certain features not
being compiled in.