Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
r.vim38 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language:		R3" 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-runtime6" Last Change:		2024 Feb 28 by Vim Project7 8" Only do this when not yet done for this buffer9if exists("b:did_ftplugin")10  finish11endif12 13" Don't load another plugin for this buffer14let b:did_ftplugin = 115 16let s:cpo_save = &cpo17set cpo&vim18 19setlocal iskeyword=@,48-57,_,.20setlocal formatoptions-=t21setlocal commentstring=#\ %s22setlocal comments=:#',:###,:##,:#23 24if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")25  let b:browsefilter = "R Source Files (*.R)\t*.R\n" .26        \ "Files that include R (*.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd)\t*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"27  if has("win32")28    let b:browsefilter .= "All Files (*.*)\t*\n"29  else30    let b:browsefilter .= "All Files (*)\t*\n"31  endif32endif33 34let b:undo_ftplugin = "setl cms< com< fo< isk< | unlet! b:browsefilter"35 36let &cpo = s:cpo_save37unlet s:cpo_save38 
codekingpro/portable-devtools · Team Ai