aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/sway.vim
blob: 35970b257cd9de5583d79d7927cf3017e5be5236 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
" Vim filetype plugin
" Language:	Sway
" Maintainer:	Riley Bruins <ribru17@gmail.com>
" Last Change:	2024 Nov 01

if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

setl commentstring=//\ %s
" From Rust comments
setl comments=s0:/*!,ex:*/,s1:/*,mb:*,ex:*/,:///,://!,://

let b:undo_ftplugin = 'setl com< cms<'