Bram Moolenaar | cfa8f9a | 2022-06-03 21:59:47 +0100 | [diff] [blame] | 1 | " Vim syntax file |
| 2 | " Language: confini |
zeertzjq | 9c9200d | 2025-05-02 15:32:23 +0200 | [diff] [blame] | 3 | " Last Change: |
| 4 | " 2025 May 02 by Vim project commented line starts with # only |
Bram Moolenaar | cfa8f9a | 2022-06-03 21:59:47 +0100 | [diff] [blame] | 5 | |
| 6 | " Quit if a syntax file was already loaded |
| 7 | if exists("b:current_syntax") |
| 8 | finish |
| 9 | endif |
| 10 | |
| 11 | " Use the cfg syntax for now, it's similar. |
| 12 | runtime! syntax/cfg.vim |
| 13 | |
zeertzjq | 9c9200d | 2025-05-02 15:32:23 +0200 | [diff] [blame] | 14 | " Only accept '#' as the start of a comment. |
| 15 | syn clear CfgComment |
| 16 | syn match CfgComment "#.*" contains=@Spell |
| 17 | |
Bram Moolenaar | cfa8f9a | 2022-06-03 21:59:47 +0100 | [diff] [blame] | 18 | let b:current_syntax = 'confini' |