Keith Smiley | d8f9811 | 2023-08-11 14:07:50 -0700 | [diff] [blame] | 1 | " Vim filetype plugin |
2 | " Language: nix | ||||
3 | " Maintainer: Keith Smiley <keithbsmiley@gmail.com> | ||||
4 | " Last Change: 2023 Jul 22 | ||||
5 | |||||
6 | " Only do this when not done yet for this buffer | ||||
7 | if exists("b:did_ftplugin") | ||||
8 | finish | ||||
9 | endif | ||||
10 | |||||
11 | " Don't load another plugin for this buffer | ||||
12 | let b:did_ftplugin = 1 | ||||
13 | |||||
14 | let b:undo_ftplugin = "setl commentstring< comments<" | ||||
15 | |||||
16 | setlocal comments=:# | ||||
17 | setlocal commentstring=#\ %s |