Peter Benjamin | 72755b3 | 2025-01-20 21:56:41 +0100 | [diff] [blame] | 1 | " Vim ftplugin file |
| 2 | " Language: Justfile |
| 3 | " Maintainer: Peter Benjamin <@pbnj> |
| 4 | " Last Change: 2025 Jan 19 |
| 5 | " Credits: The original author, Noah Bogart <https://github.com/NoahTheDuke/vim-just/> |
| 6 | |
| 7 | " Only do this when not done yet for this buffer |
| 8 | if exists("b:did_ftplugin") |
| 9 | finish |
| 10 | endif |
| 11 | let b:did_ftplugin = 1 |
| 12 | |
| 13 | setlocal iskeyword+=- |
| 14 | setlocal comments=n:# |
| 15 | setlocal commentstring=#\ %s |
| 16 | |
| 17 | let b:undo_ftplugin = "setlocal iskeyword< comments< commentstring<" |