mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 21:25:04 -07:00
4faad4a950
Problem: filetype: Snakemake files are not recognized
Solution: Detect '*.smk' and Snakefile files as snakemake filetype
(Riley Bruins)
See:
https://snakemake.readthedocs.io/en/stable/snakefiles/deployment.html#distribution-and-reproducibility
closes: vim/vim#14992
82a579e15a
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
14 lines
263 B
VimL
14 lines
263 B
VimL
" Vim filetype plugin
|
|
" Language: snakemake
|
|
" Maintainer: Riley Bruins <ribru17@gmail.com>
|
|
" Last Change: 2024 Jun 13
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setl comments=:# commentstring=#\ %s
|
|
|
|
let b:undo_ftplugin = 'setl com< cms<'
|