mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
27 lines
570 B
VimL
27 lines
570 B
VimL
if !has_key(g:polyglot_is_disabled, 'systemd')
|
|
finish
|
|
endif
|
|
|
|
" Vim filetype plugin file
|
|
" Language: systemd unit files
|
|
" Previous Maintainer: Will Woods <wwoods@redhat.com>
|
|
" Latest Revision: Sep 25, 2019
|
|
|
|
" These are, as it turns out, exactly the same settings as ftplugin/conf.vim
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
let s:cpo_save = &cpo
|
|
set cpo&vim
|
|
|
|
let b:undo_ftplugin = "setl com< cms< fo<"
|
|
|
|
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
|
|
|
|
let &cpo = s:cpo_save
|
|
unlet s:cpo_save
|
|
|