forked from notepad-plus-plus/userDefinedLanguages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vimscript_Obsidian_by_rdipardo.xml
60 lines (60 loc) · 13.6 KB
/
Vimscript_Obsidian_by_rdipardo.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: User Defined Language for Vim script (based on the Obsidian theme)
Author: Robert Di Pardo <https://github.com/rdipardo>
Credits: Style based on the Obsidian theme by Joni Eskelinen, inspired by the Oblivion theme for gedit
-->
<NotepadPlus>
<UserLang name="Vim script (Obsidian)" ext="vim vimrc gvimrc exrc" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="yes" forcePureLC="0" decimalSeparator="0"/>
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="yes" Keywords8="yes"/>
<TreatAsSymbol comment="no" commentLine="no"/>
</Settings>
<KeywordLists>
<Keywords name="Comment">1 2 0"</Keywords>
<Keywords name="Delimiters">00' 01 02((' EOL))</Keywords>
<Keywords name="Numbers, prefix1"/>
<Keywords name="Numbers, prefix2">0b 0o 0x #</Keywords>
<Keywords name="Numbers, extras1">A B C D E F a b c d e f + -</Keywords>
<Keywords name="Numbers, extras2"/>
<Keywords name="Operators1">~ ` ! @ % ^ * | ? . , + : / \ ( ) [ ] { } < > = a: b: g: l: s: t: v: w:</Keywords>
<Keywords name="Operators2">&& # - _ is is#</Keywords>
<Keywords name="Keywords1">abort argv au autocmd augroup awa beval_bufnr beval_col beval_lnum beval_text beval_winid beval_winnr bNext bnext bprevious break breakadd breakdel bufdo bw bwipe bwipeout call catch cclose cd char charconvert_from charconvert_to checktime cm cmap cmapc cmapclear cmdarg cmdbang cnext cno cnor cnoremap collate colo colorscheme com command completed_item continue cope copen count1 cprevious ctype cu cun cunmap dd delm doautoall doautocmd dying Explore echo echoerr echohl echom echomsg echon echospace edit else elseif emenu END End end endif endfor endfunc endfunction endtry endwhile enew errmsg errors event exception exe exec execute exit exiting exusage false fcs_choice fcs_reason filetype finally finish fold foldc foldd foldclose folddashes folddo folddoc folddoclosed folddoopen foldend foldopen foldstart for fname_diff fname_in fname_new fname_out func function Hexplore hi highlight if iabbrev in im imap imapc imapclear ino inor inoremap iu iunmap key Lexplore lang lc_time lcd lch let lm lma lmap lmapc lmapclear ln lnoremap lnum ls lu lua luado luafile lunmap ma mapc mapclear mark marks mouse_col mouse_lnum mouse_win mouse_winid mz mzf mzfile mzscheme Nexplore new nm nmap nmapc nmapclear nn nnoremap noh nohlsearch none nor nore norem noremap norm normal null numbermax numbermin numbersize nun nunmap oldfiles om omap omapc omapclear only ono onoremap operator option_new option_old option_oldlocal option_oldglobal option_type option_command ou ounmap Pexplore perl perld perldo prevcount pr print prof profd profdel profile progname progpath put pwd py py3 pyx pydo py3do pyxdo py3file pyf pyfile python python3 pythonx pyxfile qa Rexplore redir redr redraw redraws redrawstatus redrawt redrawtabline reg register registers region return ruby rubyd rubydo rubyf rubyfile Sexplore sbNext sbnext sbprevious scrollstart searchforward servername set setf setl setlocal shell_error silent smap smapc smapclear snor snore snoremap so source statusmsg sunm sunmap swapchoice swapcommand swapname sy syn syntax syntime Texplore t_blob t_bool t_channel t_dict t_float t_func t_job t_list t_none t_number t_string tabclose tabmove tabnew tabNext tabnext tabonly tabprevious termresponse termblinkresp termstyleresp termrbgresp termrfgresp termu7resp testing this_session throw throwpoint tma tmap tmapc tmapclear tno tnoremap true try tunma tunmap unlet unm unmap Vexplore val verb verbose version versionlong vert vertical vim_did_enter viusage vmap vmapc vmapclear vn vnoremap vu vunmap vVy warningmsg while wincmd windo windowid wNext wnext wprevious xm xmap xmapc xmapclear xn xnoremap xu xunmap zi zj zk zN zn</Keywords>
<!-- keyboard codes -->
<Keywords name="Keywords2">BAR Bar bar BS CR Cr cr CTRL DEL Del del DOWN Down down ENTER Enter enter EOL Eol eol ESC Esc esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 HOME Home home INSERT Insert insert k0 k1 k2 k3 k4 k5 k6 k7 k8 k9 LEFT Left left NL PageUp PageDown RETURN Return return RIGHT Right right SPACE Space space TAB Tab tab UP Up up</Keywords>
<!-- built-in functions -->
<Keywords name="Keywords3">abs add acos argc argidx arglistid and append appendbufline asin atan atan2 browse browsedir bufadd bufexists buflisted bufload bufloaded bufname bufnr bufwinid bufwinnr byte2line byteidx byteidxcomp ceil changenr char2nr charclass charcol charidx chdir cindent clearmatches col complete_add complete_check complete_info confirm copy cos cosh cscope_connection cursor debugbreak deepcopy delete deletebufline did_filetype diff_filler diff_hlID echoraw empty environ escape eval eventhandler executable exepath exists exp expand expandcmd extend extendnew feedkeys filereadable filewritable filter finddir findfile flatten flattennew float2nr floor fmod fnameescape fnamemodify foldclosed foldclosedend foldtextresult foreground fullcommand funcref garbagecollect getbufinfo getbufline getbufvar getchar getcompletion getcwd getline getpos getreg glob glob2regpat globpath has has_key haslocaldir hasmapto histadd histdel histget histnr hlID hlexists hostname iconv index input inputdialog inputlist inputrestore inputsave inputsecret interrupt invert isdirectory isinf islocked isnan items join js_decode json_decode js_encode json_encode keys len libcall libcallnr line line2byte lispindent list2str listener_add listener_flush listener_remove localtime log log10 luaeval map maparg mapc mapcheck mapnew mapset match matchadd matchaddpos matcharg matchdelete matchend matchfuzzy matchfuzzypos matchlist matchstr matchstrpos max menu_info min mkdir mode mzeval nextnonblank nr2char or pathshorten perleval pow prevnonblank printf pum_getpos pumvisible pyeval py3eval pyxeval rand range readblob readdir readdirex readfile reduce reg_executing reg_recording reltime reltimefloat reltimestr remove rename repeat resolve reverse round rubyeval screenattr screenchar screenchars screencol screenpos screenrow screenstring search searchcount searchdecl searchpair searchpairpos searchpos server2client serverlist setbufvar setbufline setcellwidths setcharpos setcharsearch setcmdpos setcursorcharpos setenv setfperm setline setloclist setmatches setpos setqflist setreg settabvar settabwinvar settagstack setwinvar sha256 shellescape simplify sin sinh slice sort sound_clear sound_playevent sound_playfile sound_stop soundfold spellbadword spellsuggest split sqrt srand state str2float str2list str2nr strcharpart strchars strdisplaywidth strftime strgetchar stridx string strlen strpart strptime strridx strtrans strwidth submatch substitute swapinfo synID synIDattr synIDtrans synconcealed synstack system systemlist tabpagebuflist tabpagenr tabpagewinnr tagfiles taglist tan tanh tempname terminalprops tolower toupper tr trim trunc type typename undotree uniq values virtcol visualmode wildmenumode winbufnr wincol windowsversion winheight winlayout winline winnr winrestcmd winrestview winsaveview winwidth wordcount writefile xor</Keywords>
<!-- pre-defined editor variables -->
<Keywords name="Keywords4">abuf afile ai amatch args autochdir autoindent autoread autowrite bang buffer Cmd cexpr cfile client count cscopeverbose csverb cursorbind cursorcolumn cursorline cWORD cword darkblue default delek desert dos elflord enable endofline eol evening expandtab expr f-args fen filler fixendofline fixeol foldenable fs fsync global hid hidden hlsearch ignorecase incsearch indent industry internal koehler latin1 lazyredraw lbr LEADER Leader leader linebreak localleader mac magic manual menu menuone modifiable mods more morning murphy newtab nobackup nobuflisted nocompatible nocscopeverbose nocsverb nocursorbind nocursorcolumn nocursorbind nocursorline noendofline noeol noerrorbells noexpandtab nofen nofile nofixendofline nofixeol nofoldenable nofs nofsync nohid nohidden noimd nolbr nolinebreak nolist nomodifiable nomore noshellslash noshelltemp noshowmatch novisualbell NONE None NOP Nop nop noshowmatch noshowmode nosb nosol nospell nosplit nosplitbelow nosplitright nospr nostartofline noswapfile nowait nowb nowrap number off on pablo peachpuff PLUG Plug plug PLUGIN Plugin plugin preview q-args q-mods range relativenumber ron ruler sb script sfile sflnum shellslash shelltemp shine showcmd showmatch si SID slate slnum smartcase smarttab sol special spell splitbelow splitright spr stack start startofline swapfile termguicolors torte ttyfast undofile unique unnamed unnamedplus unix useopen usetab utf8 utf-8 vglobal visualbell wildmenu wrap zellner</Keywords>
<!-- editor events and highlight groups -->
<Keywords name="Keywords5">BufAdd BufCreate BufDelete BufEnter BufFilePost BufFilePre BufHidden BufLeave BufNew BufNewFile BufRead BufReadCmd BufReadPost BufReadPre BufUnload BufWinEnter BufWinLeave BufWipeout BufWrite BufWriteCmd BufWritePost BufWritePre CmdwinEnter CmdwinLeave ColorColumn ColorScheme CompleteDone Conceal Cursor CursorColumn CursorHold CursorHoldI CursorIM CursorLine CursorLineNr CursorMoved CursorMovedI DiffAdd DiffChange DiffDelete DiffText Directory EncodingChanged EndOfBuffer ErrorMsg FileAppendCmd FileAppendPost FileAppendPre FileChangedShell FileChangedShellPost FileChangedRO FileReadCmd FileReadPost FileReadPre FileType FileWriteCmd FileWritePre FileWritePost FilterReadPost FilterReadPre FilterWritePost FilterWritePre Folded FoldColumn FocusGained FocusLost FuncUndefined GUIEnter GUIFailed IncSearch InsertChange InsertCharPre InsertEnter InsertLeave LineNr LineNrAbove LineNrBelow lCursor MatchParen MenuPopup ModeMsg MoreMsg NonText Normal Pmenu PmenuSel PmenuSbar PmenuThumb Question QuickFixCmdPost QuickFixCmdPre QuickFixLine QuitPre RemoteReply Search SessionLoadPost ShellCmdPost ShellFilterPost SignColumn SourceCmd SourcePre SpecialKey SpellBad SpellCap SpellFileMissing SpellLocal SpellRare StatusLine StatusLineNC StatusLineTerm StatusLineTermNC StdinReadPost StdinReadPre SwapExists Syntax TabEnter TabLeave TabLine TabLineFill TabLineSel TermChanged Terminal TermResponse TextChanged TextChangedI Title User VertSplit VimEnter VimLeave VimLeavePre VimResized Visual VisualNOS WarningMsg WildMenu WinEnter WinLeave</Keywords>
<!-- configurable editor options -->
<Keywords name="Keywords6">background backspace clipboard cmdheight columns complete completeopt cpo cpoptions cscopeprg csprg cterm ctermbg ctermfg diffopt encoding equalprg errorformat fcl fdc fde fdi fdl fdls fdm fdn fdo fdt fex ffs fileformats fillchars flp fml fmr fo foldclose foldcolumn foldexpr foldignore foldlevel foldlevelstart foldmarker foldmethod foldminlines foldnestmax foldopen foldtext formatexpr formatlistpat formatoptions formatprg gfm gp grepformat grepprg gui guibg guifg guifont guioptions guitablabel history inccommand insertmode isfname iskeyword keywordprg langmap langmenu laststatus lines lmap makeprg pumheight rtp runtimepath shell shellcmdflag shellpipe shellquote shellredir shelltype shellxescape shellxquote shiftwidth softtabstop spelllang stal stl statusline switchbuf tabline tabstop timeoutlen tm ttimeoutlen ttm ttymouse ttyscroll tw undodir whichwrap wildignore wildmode verbosefile</Keywords>
<!-- prefixes of editor options, environment variables, and termcap settings -->
<Keywords name="Keywords7">& $ t_</Keywords>
<!-- prefixes of built-in functions -->
<Keywords name="Keywords8">assert_ balloon_ ch_ get job_ popup_ prompt_ prop_ remote_ sign_ term_ test_ timer_ win_</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="0" fgColor="FFF0F5" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="COMMENT" styleID="1" fgColor="8F9CA2" bgColor="293134" fontName="" fontStyle="2"/>
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="8F9CA2" bgColor="293134" fontName="" fontStyle="2"/>
<WordsStyle name="FOLDEROPEN" styleID="3" fgColor="E0E2E4" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="FOLDERCLOSE" styleID="4" fgColor="E0E2E4" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="FOLDER IN COMMENT" styleID="5" fgColor="E0E2E4" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="NUMBERS" styleID="6" fgColor="FFEF00" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="OPERATORS" styleID="7" fgColor="678CB1" bgColor="293134" fontName="" fontStyle="1"/>
<WordsStyle name="KEYWORDS1" styleID="8" fgColor="A082BD" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="KEYWORDS2" styleID="9" fgColor="93CDBA" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="KEYWORDS3" styleID="10" fgColor="37A690" bgColor="293134" fontName="" fontStyle="1"/>
<WordsStyle name="KEYWORDS4" styleID="11" fgColor="93CDBA" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="KEYWORDS5" styleID="12" fgColor="B3B689" bgColor="293134" fontName="" fontStyle="1"/>
<WordsStyle name="KEYWORDS6" styleID="13" fgColor="BC8F8F" bgColor="293134" fontName="" fontStyle="3"/>
<WordsStyle name="KEYWORDS7" styleID="14" fgColor="BC8F8F" bgColor="293134" fontName="" fontStyle="3"/>
<WordsStyle name="KEYWORDS8" styleID="15" fgColor="37A690" bgColor="293134" fontName="" fontStyle="1"/>
<WordsStyle name="DELIMITERS1" styleID="16" fgColor="FF7F50" bgColor="293134" fontName="" fontStyle="0"/>
<WordsStyle name="DELIMITERS2" styleID="17" fgColor="FF7F50" bgColor="293134" fontName="" fontStyle="0"/>
</Styles>
</UserLang>
</NotepadPlus>