robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:7c3f9af: runtime(misc): unset compiler in various ftplugins88085c2e80

master
557 B23 linesraw
1" Vim compiler file
2" Language:	jq
3" Maintainer:	Vito <vito.blog@gmail.com>
4" Last Change:	2024 Apr 29
5" 		2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
6" 		2024 Oct 04 by Konfekt (unset compiler)
7" Upstream: https://github.com/vito-c/jq.vim
8
9if exists('b:did_ftplugin')
10  finish
11endif
12let b:did_ftplugin = 1
13
14setlocal include=^\\s*\\%(import\\\|include\\)
15setlocal commentstring=#\ %s
16
17let b:undo_ftplugin = 'setl commentstring< include<'
18
19if !exists('current_compiler')
20  let b:undo_ftplugin ..= "| compiler make"
21  compiler jq
22endif
23