Skip to content
This repository was archived by the owner on Mar 21, 2022. It is now read-only.

Commit d89807a

Browse files
committed
feat: add waybar/config to ftdetect
[Waybar](https://github.com/Alexays/Waybar) is another project which uses JSON-with-comments for its configuration file. Signed-off-by: Kevin Locke <[email protected]>
1 parent b6d4868 commit d89807a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ftdetect/jsonc.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ augroup jsoncFtdetect
2929
autocmd BufNewFile,BufRead coffeelint.json setlocal filetype=jsonc
3030
" https://github.com/microsoft/TypeScript/pull/5450
3131
autocmd BufNewFile,BufRead tsconfig.json setlocal filetype=jsonc
32+
" https://github.com/Alexays/Waybar/wiki/Configuration
33+
autocmd BufNewFile,BufRead */waybar/config setlocal filetype=jsonc
3234
augroup END

0 commit comments

Comments
 (0)