Mercurial > vim
comparison runtime/ftplugin/hare.vim @ 30547:1e91e26ceebf
Update runtime files
Commit: https://github.com/vim/vim/commit/9fbdbb814f4ad67a14979aba4a6a49800c2f1a99
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 27 17:30:34 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 27 Sep 2022 18:45:05 +0200 |
parents | |
children | 02939ae3aaca |
comparison
equal
deleted
inserted
replaced
30546:3107cc41afc2 | 30547:1e91e26ceebf |
---|---|
1 " 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 | |
8 if exists('b:did_ftplugin') | |
9 finish | |
10 endif | |
11 | |
12 " Don't load another plugin for this buffer | |
13 let b:did_ftplugin = 1 | |
14 | |
15 setlocal noexpandtab | |
16 setlocal tabstop=8 | |
17 setlocal shiftwidth=0 | |
18 setlocal softtabstop=0 | |
19 setlocal textwidth=80 | |
20 setlocal 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". | |
24 setlocal fo-=t fo+=croql | |
25 | |
26 compiler hare | |
27 " vim: tabstop=2 shiftwidth=2 expandtab |