blob: bb10daf38c11ff2c7f86a7274f1f8add16349ce8 [file] [log] [blame]
Bram Moolenaar9fbdbb82022-09-27 17:30:34 +01001" Vim filetype plugin
2" Language: Hare
3" Maintainer: Amelia Clarke <me@rsaihe.dev>
4" Previous Maintainer: Drew DeVault <sir@cmpwn.com>
5" Last Updated: 2022-09-21
6
7" Only do this when not done yet for this buffer
8if exists('b:did_ftplugin')
9 finish
10endif
11
12" Don't load another plugin for this buffer
13let b:did_ftplugin = 1
14
15setlocal noexpandtab
16setlocal tabstop=8
17setlocal shiftwidth=0
18setlocal softtabstop=0
19setlocal textwidth=80
20setlocal commentstring=//\ %s
21
22" Set 'formatoptions' to break comment lines but not other lines,
23" and insert the comment leader when hitting <CR> or using "o".
24setlocal fo-=t fo+=croql
25
26compiler hare
27" vim: tabstop=2 shiftwidth=2 expandtab