annotate runtime/ftplugin/nix.vim @ 35442:08468d7e398c

runtime(java): Add a config variable for commonly used compiler options Commit: https://github.com/vim/vim/commit/0ddab582fa13d1d653800494e45ecfba00974a18 Author: Doug Kearns <dougkearns@gmail.com> Date: Sun Jun 16 16:58:09 2024 +0200 runtime(java): Add a config variable for commonly used compiler options The value of g:javac_makeprg_params, if set, is added to the value of 'makeprg' as an option string. closes: #14999 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 16 Jun 2024 17:00:10 +0200
parents bbd43982d4eb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32734
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Vim filetype plugin
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " Language: nix
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 " Maintainer: Keith Smiley <keithbsmiley@gmail.com>
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 " Last Change: 2023 Jul 22
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 " Only do this when not done yet for this buffer
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 if exists("b:did_ftplugin")
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 finish
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 endif
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 " Don't load another plugin for this buffer
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 let b:did_ftplugin = 1
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 let b:undo_ftplugin = "setl commentstring< comments<"
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 setlocal comments=:#
bbd43982d4eb Add commentstring for nix file format (#12696)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 setlocal commentstring=#\ %s