annotate runtime/ftplugin/fennel.vim @ 29071:b90bca860b5a v8.2.5057

patch 8.2.5057: using gettimeofday() for timeout is very inefficient Commit: https://github.com/vim/vim/commit/6574577cacd393ab7591fc776ea060eebc939e55 Author: Paul Ollis <paul@cleversheep.org> Date: Sun Jun 5 16:55:54 2022 +0100 patch 8.2.5057: using gettimeofday() for timeout is very inefficient Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes https://github.com/vim/vim/issues/10505)
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Jun 2022 18:00:08 +0200
parents 4d76b3e07c07
children 635de73eeb4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28620
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Fennel
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Gregory Anders <greg[NOSPAM]@gpanders.com>
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Update: 2022 Apr 20
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists('b:did_ftplugin')
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let b:did_ftplugin = 1
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 setlocal commentstring=;%s
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 setlocal comments=:;;,:;
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 setlocal formatoptions-=t
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 setlocal suffixesadd=.fnl
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 setlocal lisp
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 setlocal lispwords=accumulate,collect,do,doto,each,eval-compiler,fn,for,icollect,lambda,let,macro,macros,match,match-try,when,while,with-open
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17
4d76b3e07c07 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions< suffixesadd< lisp< lispwords<'