robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:e93afc2e6126bf695b5ef4

master
952 B35 linesraw
1" Vim filetype plugin file
2" Language:		R help file
3" Maintainer:		This runtime file is looking for a new maintainer.
4" Former Maintainer:	Jakson Alves de Aquino <jalvesaq@gmail.com>
5" Former Repository:	https://github.com/jalvesaq/R-Vim-runtime
6" Last Change:		2024 Feb 28 by Vim Project
7
8" Only do this when not yet done for this buffer
9if exists("b:did_ftplugin")
10  finish
11endif
12
13" Don't load another plugin for this buffer
14let b:did_ftplugin = 1
15
16let s:cpo_save = &cpo
17set cpo&vim
18
19setlocal iskeyword=@,48-57,_,.
20
21if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
22  let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
23  if has("win32")
24    let b:browsefilter .= "All Files (*.*)\t*\n"
25  else
26    let b:browsefilter .= "All Files (*)\t*\n"
27  endif
28endif
29
30let b:undo_ftplugin = "setl isk< | unlet! b:browsefilter"
31
32let &cpo = s:cpo_save
33unlet s:cpo_save
34
35" vim: sw=2