view 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
line wrap: on
line source

" Vim filetype plugin
" Language:    nix
" Maintainer:  Keith Smiley <keithbsmiley@gmail.com>
" Last Change: 2023 Jul 22

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
  finish
endif

" Don't load another plugin for this buffer
let b:did_ftplugin = 1

let b:undo_ftplugin = "setl commentstring< comments<"

setlocal comments=:#
setlocal commentstring=#\ %s