-
-
Save pidgeon777/67202fa42d33a9d9361d2feb076477a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCRIPT C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\telescope.nvim\ftplugin\TelescopePrompt.lua | |
Sourced 2 times | |
Total time: 0.000361 | |
Self time: 0.000361 | |
count total (s) self (s) | |
-- Don't wrap textwidth things | |
vim.opt_local.formatoptions:remove "t" | |
vim.opt_local.formatoptions:remove "c" | |
-- Don't include `showbreak` when calculating strdisplaywidth | |
vim.opt_local.wrap = false | |
-- There's also no reason to enable textwidth here anyway | |
vim.opt_local.textwidth = 0 | |
vim.opt_local.scrollbind = false | |
vim.opt_local.signcolumn = "no" | |
SCRIPT C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\telescope.nvim\ftplugin\TelescopeResults.lua | |
Sourced 2 times | |
Total time: 0.000327 | |
Self time: 0.000327 | |
count total (s) self (s) | |
-- Don't have scrolloff, it makes things weird. | |
vim.opt_local.scrolloff = 0 | |
vim.opt_local.scrollbind = false | |
vim.opt_local.signcolumn = "no" | |
SCRIPT C:\Users\username\Portable\Neovim\share\nvim\runtime\ftplugin\qf.vim | |
Sourced 240 times | |
Total time: 0.042051 | |
Self time: 0.042051 | |
count total (s) self (s) | |
" Vim filetype plugin file | |
" Language: Vim's quickfix window | |
" Maintainer: Lech Lorens <Lech.Lorens@gmail.com> | |
" Last Change: 2019 Jul 15 | |
240 0.002950 if exists("b:did_ftplugin") | |
finish | |
240 0.000225 endif | |
" Don't load another plugin for this buffer | |
240 0.000989 let b:did_ftplugin = 1 | |
240 0.001029 if !get(g:, 'qf_disable_statusline') | |
240 0.000632 let b:undo_ftplugin = "set stl<" | |
" Display the command that produced the list in the quickfix window: | |
240 0.003050 setlocal stl=%t%{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''}\ %=%-15(%l,%c%V%)\ %P | |
240 0.000399 endif | |
240 0.001184 function! s:setup_toc() abort | |
if get(w:, 'quickfix_title') !~# '\<TOC$' || &syntax != 'qf' | |
return | |
endif | |
let list = getloclist(0) | |
if empty(list) | |
return | |
endif | |
let bufnr = list[0].bufnr | |
setlocal modifiable | |
silent %delete _ | |
call setline(1, map(list, 'v:val.text')) | |
setlocal nomodifiable nomodified | |
let &syntax = getbufvar(bufnr, '&syntax') | |
endfunction | |
240 0.000706 augroup qf_toc | |
240 0.012265 autocmd! | |
240 0.002038 autocmd Syntax <buffer> call s:setup_toc() | |
240 0.003016 augroup END | |
SCRIPT C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\opt\nvim-bqf\after\ftplugin\qf\bqf.vim | |
Sourced 240 times | |
Total time: 0.391452 | |
Self time: 0.391452 | |
count total (s) self (s) | |
240 0.005742 if !has('nvim-0.6.1') | |
call v:lua.vim.notify('nvim-bqf failed to initialize, RTFM.') | |
finish | |
240 0.000232 endif | |
240 0.002781 com! -buffer BqfEnable lua require('bqf').enable() | |
240 0.002154 com! -buffer BqfDisable lua require('bqf').disable() | |
240 0.001997 com! -buffer BqfToggle lua require('bqf').toggle() | |
240 0.369247 lua require('bqf').bootstrap() | |
SCRIPT C:\Users\username\Portable\Neovim\share\nvim\runtime\syntax\qf.vim | |
Sourced 240 times | |
Total time: 0.023732 | |
Self time: 0.023732 | |
count total (s) self (s) | |
" Vim syntax file | |
" Language: Quickfix window | |
" Maintainer: Bram Moolenaar <Bram@vim.org> | |
" Last change: 2001 Jan 15 | |
" Quit when a syntax file was already loaded | |
240 0.002708 if exists("b:current_syntax") | |
finish | |
240 0.000226 endif | |
" A bunch of useful C keywords | |
240 0.003170 syn match qfFileName "^[^|]*" nextgroup=qfSeparator | |
240 0.001436 syn match qfSeparator "|" nextgroup=qfLineNr contained | |
240 0.001297 syn match qfLineNr "[^|]*" contained contains=qfError | |
240 0.000978 syn match qfError "error" contained | |
" The default highlighting. | |
240 0.000705 hi def link qfFileName Directory | |
240 0.000344 hi def link qfLineNr LineNr | |
240 0.000352 hi def link qfError Error | |
240 0.001022 let b:current_syntax = "qf" | |
" vim: ts=8 | |
FUNCTION 9() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\autoload\provider\clipboard.vim:153 | |
Called 0 times | |
Total time: 0.000000 | |
Self time: 0.000000 | |
count total (s) self (s) | |
if type(s:paste[a:reg]) == v:t_func | |
return s:paste[a:reg]() | |
elseif s:selections[a:reg].owner > 0 | |
return s:selections[a:reg].data | |
end | |
let clipboard_data = s:try_cmd(s:paste[a:reg]) | |
if match(&clipboard, '\v(unnamed|unnamedplus)') >= 0 && type(clipboard_data) == v:t_list && get(s:selections[a:reg].data, 0, []) ==# clipboard_data | |
" When system clipboard return is same as our cache return the cache | |
" as it contains regtype information | |
return s:selections[a:reg].data | |
end | |
return clipboard_data | |
FUNCTION <SNR>60_ShouldHighlight() | |
Defined: C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\vim-better-whitespace\plugin\better-whitespace.vim:129 | |
Called 525 times | |
Total time: 0.011392 | |
Self time: 0.011392 | |
count total (s) self (s) | |
" Guess from the filetype if a) not locally decided, b) globally enabled, c) there is enough information | |
525 0.003015 if get(b:, 'better_whitespace_guess', 1) && g:better_whitespace_enabled == 1 | |
525 0.004796 let b:better_whitespace_enabled = (empty(&buftype) || &buftype == 'acwrite') && index(g:better_whitespace_filetypes_blacklist, &ft) == -1 | |
525 0.000353 endif | |
525 0.001895 return get(b:, 'better_whitespace_enabled', g:better_whitespace_enabled) | |
FUNCTION <SNR>1_LoadFTPlugin() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\ftplugin.vim:14 | |
Called 245 times | |
Total time: 7.050313 | |
Self time: 6.613126 | |
count total (s) self (s) | |
245 0.001503 if exists("b:undo_ftplugin") | |
240 0.002458 exe b:undo_ftplugin | |
240 0.000687 unlet! b:undo_ftplugin b:did_ftplugin | |
245 0.000190 endif | |
245 0.001115 let s = expand("<amatch>") | |
245 0.000421 if s != "" | |
245 0.002120 if &cpo =~# "S" && exists("b:did_ftplugin") | |
" In compatible mode options are reset to the global values, need to | |
" set the local values also when a plugin was already used. | |
unlet b:did_ftplugin | |
245 0.000151 endif | |
" When there is a dot it is used to separate filetype names. Thus for | |
" "aaa.bbb" load "aaa" and then "bbb". | |
490 0.002228 for name in split(s, '\.') | |
245 4.009721 3.573522 exe 'runtime! ftplugin/' . name . '.vim ftplugin/' . name . '_*.vim ftplugin/' . name . '/*.vim' | |
" Load lua ftplugins | |
245 3.023442 3.022454 exe printf('runtime! ftplugin/%s.lua ftplugin/%s_*.lua ftplugin/%s/*.lua', name, name, name) | |
490 0.001198 endfor | |
245 0.000225 endif | |
FUNCTION <SNR>61_display_annotation() | |
Defined: C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\vim-bookmarks\plugin\bookmark.vim:540 | |
Called 7 times | |
Total time: 0.002136 | |
Self time: 0.002108 | |
count total (s) self (s) | |
7 0.001858 let file = expand("%:p") | |
7 0.000019 if file ==# "" | |
2 0.000002 return | |
5 0.000002 endif | |
5 0.000013 let current_line = line('.') | |
5 0.000155 0.000127 let has_bm = bm#has_bookmark_at_line(file, current_line) | |
5 0.000016 let bm = has_bm ? bm#get_bookmark_by_line(file, current_line) : 0 | |
5 0.000011 let annotation = has_bm ? bm['annotation'] : "" | |
5 0.000006 if annotation !=# "" | |
echo "Bookmark annotation: ". annotation | |
5 0.000002 else | |
5 0.000015 echo | |
5 0.000002 endif | |
FUNCTION <SNR>11_SynSet() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\syntax\synload.vim:26 | |
Called 245 times | |
Total time: 3.849984 | |
Self time: 3.825071 | |
count total (s) self (s) | |
" clear syntax for :set syntax=OFF and any syntax name that doesn't exist | |
245 0.002622 syn clear | |
245 0.000746 if exists("b:current_syntax") | |
unlet b:current_syntax | |
245 0.000161 endif | |
245 0.001154 0verbose let s = expand("<amatch>") | |
245 0.000457 if s == "ON" | |
" :set syntax=ON | |
if &filetype == "" | |
echohl ErrorMsg | |
echo "filetype unknown" | |
echohl None | |
endif | |
let s = &filetype | |
245 0.000352 elseif s == "OFF" | |
let s = "" | |
245 0.000098 endif | |
245 0.000264 if s != "" | |
" Load the syntax file(s). When there are several, separated by dots, | |
" load each in sequence. Skip empty entries. | |
490 0.002606 for name in split(s, '\.') | |
245 0.000634 if !empty(name) | |
245 2.063491 2.038578 exe "runtime! syntax/" . name . ".vim syntax/" . name . "/*.vim" | |
245 1.769977 exe "runtime! syntax/" . name . ".lua syntax/" . name . "/*.lua" | |
245 0.000700 endif | |
490 0.000509 endfor | |
245 0.000179 endif | |
FUNCTION <SNR>2_LoadIndent() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\indent.vim:13 | |
Called 245 times | |
Total time: 1.672516 | |
Self time: 1.672516 | |
count total (s) self (s) | |
245 0.001389 if exists("b:undo_indent") | |
exe b:undo_indent | |
unlet! b:undo_indent b:did_indent | |
245 0.000155 endif | |
245 0.001305 let s = expand("<amatch>") | |
245 0.000486 if s != "" | |
245 0.000510 if exists("b:did_indent") | |
unlet b:did_indent | |
245 0.000135 endif | |
" When there is a dot it is used to separate filetype names. Thus for | |
" "aaa.bbb" load "indent/aaa.vim" and then "indent/bbb.vim". | |
490 0.002290 for name in split(s, '\.') | |
245 0.839445 exe 'runtime! indent/' . name . '.vim' | |
245 0.822071 exe 'runtime! indent/' . name . '.lua' | |
490 0.000882 endfor | |
245 0.000195 endif | |
FUNCTION <SNR>60_ShouldStripWhitespaceOnSave() | |
Defined: C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\vim-better-whitespace\plugin\better-whitespace.vim:138 | |
Called 485 times | |
Total time: 0.008247 | |
Self time: 0.008247 | |
count total (s) self (s) | |
" Guess from local whitespace enabled-ness and global whitespace setting | |
485 0.002547 if get(b:, 'strip_whitespace_guess', 1) && exists('b:better_whitespace_enabled') | |
485 0.003030 let b:strip_whitespace_on_save = b:better_whitespace_enabled && g:strip_whitespace_on_save && &modifiable && (g:strip_max_file_size == 0 || g:strip_max_file_size >= line('$')) | |
485 0.000214 endif | |
485 0.001581 return get(b:, 'strip_whitespace_on_save', g:strip_whitespace_on_save) | |
FUNCTION bm#has_bookmark_at_line() | |
Defined: C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\vim-bookmarks\autoload\bm.vim:15 | |
Called 5 times | |
Total time: 0.000028 | |
Self time: 0.000028 | |
count total (s) self (s) | |
5 0.000018 if !has_key(g:line_map, a:file) | |
5 0.000005 return 0 | |
endif | |
return has_key(g:line_map[a:file], a:line_nr) | |
FUNCTION <SNR>36_dopopd() | |
Defined: C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\fzf\plugin\fzf.vim:599 | |
Called 4 times | |
Total time: 0.000017 | |
Self time: 0.000017 | |
count total (s) self (s) | |
4 0.000011 if !exists('w:fzf_pushd') | |
4 0.000003 return | |
endif | |
" FIXME: We temporarily change the working directory to 'dir' entry | |
" of options dictionary (set to the current working directory if not given) | |
" before running fzf. | |
" | |
" e.g. call fzf#run({'dir': '/tmp', 'source': 'ls', 'sink': 'e'}) | |
" | |
" After processing the sink function, we have to restore the current working | |
" directory. But doing so may not be desirable if the function changed the | |
" working directory on purpose. | |
" | |
" So how can we tell if we should do it or not? A simple heuristic we use | |
" here is that we change directory only if the current working directory | |
" matches 'dir' entry. However, it is possible that the sink function did | |
" change the directory to 'dir'. In that case, the user will have an | |
" unexpected result. | |
if s:fzf_getcwd() ==# w:fzf_pushd.dir && (!&autochdir || w:fzf_pushd.bufname ==# bufname('')) | |
execute w:fzf_pushd.command s:escape(w:fzf_pushd.origin) | |
endif | |
unlet! w:fzf_pushd | |
FUNCTION <SNR>16_Highlight_Matching_Pair() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\plugin\matchparen.vim:39 | |
Called 43 times | |
Total time: 0.004787 | |
Self time: 0.004323 | |
count total (s) self (s) | |
" Remove any previous match. | |
43 0.001454 0.000990 call s:Remove_Matches() | |
" Avoid that we remove the popup menu. | |
" Return when there are no colors (looks like the cursor jumps). | |
43 0.000191 if pumvisible() || (&t_Co < 8 && !has("gui_running")) | |
return | |
43 0.000018 endif | |
" Get the character under the cursor and check if it's in 'matchpairs'. | |
43 0.000132 let c_lnum = line('.') | |
43 0.000104 let c_col = col('.') | |
43 0.000050 let before = 0 | |
43 0.000118 let text = getline(c_lnum) | |
43 0.000715 let matches = matchlist(text, '\(.\)\=\%'.c_col.'c\(.\=\)') | |
43 0.000088 if empty(matches) | |
let [c_before, c] = ['', ''] | |
43 0.000033 else | |
43 0.000177 let [c_before, c] = matches[1:2] | |
43 0.000024 endif | |
43 0.000580 let plist = split(&matchpairs, '.\zs[:,]') | |
43 0.000130 let i = index(plist, c) | |
43 0.000048 if i < 0 | |
" not found, in Insert mode try character before the cursor | |
43 0.000137 if c_col > 1 && (mode() == 'i' || mode() == 'R') | |
4 0.000010 let before = strlen(c_before) | |
4 0.000006 let c = c_before | |
4 0.000008 let i = index(plist, c) | |
43 0.000022 endif | |
43 0.000037 if i < 0 | |
" not found, nothing to do | |
43 0.000042 return | |
endif | |
endif | |
" Figure out the arguments for searchpairpos(). | |
if i % 2 == 0 | |
let s_flags = 'nW' | |
let c2 = plist[i + 1] | |
else | |
let s_flags = 'nbW' | |
let c2 = c | |
let c = plist[i - 1] | |
endif | |
if c == '[' | |
let c = '\[' | |
let c2 = '\]' | |
endif | |
" Find the match. When it was just before the cursor move it there for a | |
" moment. | |
if before > 0 | |
let has_getcurpos = exists("*getcurpos") | |
if has_getcurpos | |
" getcurpos() is more efficient but doesn't exist before 7.4.313. | |
let save_cursor = getcurpos() | |
else | |
let save_cursor = winsaveview() | |
endif | |
call cursor(c_lnum, c_col - before) | |
endif | |
if !has("syntax") || !exists("g:syntax_on") | |
let s_skip = "0" | |
else | |
" Build an expression that detects whether the current cursor position is | |
" in certain syntax types (string, comment, etc.), for use as | |
" searchpairpos()'s skip argument. | |
" We match "escape" for special items, such as lispEscapeSpecial, and | |
" match "symbol" for lispBarSymbol. | |
let s_skip = '!empty(filter(map(synstack(line("."), col(".")), ''synIDattr(v:val, "name")''), ' . '''v:val =~? "string\\|character\\|singlequote\\|escape\\|symbol\\|comment"''))' | |
" If executing the expression determines that the cursor is currently in | |
" one of the syntax types, then we want searchpairpos() to find the pair | |
" within those syntax types (i.e., not skip). Otherwise, the cursor is | |
" outside of the syntax types and s_skip should keep its value so we skip | |
" any matching pair inside the syntax types. | |
" Catch if this throws E363: pattern uses more memory than 'maxmempattern'. | |
try | |
execute 'if ' . s_skip . ' | let s_skip = "0" | endif' | |
catch /^Vim\%((\a\+)\)\=:E363/ | |
" We won't find anything, so skip searching, should keep Vim responsive. | |
return | |
endtry | |
endif | |
" Limit the search to lines visible in the window. | |
let stoplinebottom = line('w$') | |
let stoplinetop = line('w0') | |
if i % 2 == 0 | |
let stopline = stoplinebottom | |
else | |
let stopline = stoplinetop | |
endif | |
" Limit the search time to 300 msec to avoid a hang on very long lines. | |
" This fails when a timeout is not supported. | |
if mode() == 'i' || mode() == 'R' | |
let timeout = exists("b:matchparen_insert_timeout") ? b:matchparen_insert_timeout : g:matchparen_insert_timeout | |
else | |
let timeout = exists("b:matchparen_timeout") ? b:matchparen_timeout : g:matchparen_timeout | |
endif | |
try | |
let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline, timeout) | |
catch /E118/ | |
" Can't use the timeout, restrict the stopline a bit more to avoid taking | |
" a long time on closed folds and long lines. | |
" The "viewable" variables give a range in which we can scroll while | |
" keeping the cursor at the same position. | |
" adjustedScrolloff accounts for very large numbers of scrolloff. | |
let adjustedScrolloff = min([&scrolloff, (line('w$') - line('w0')) / 2]) | |
let bottom_viewable = min([line('$'), c_lnum + &lines - adjustedScrolloff - 2]) | |
let top_viewable = max([1, c_lnum-&lines+adjustedScrolloff + 2]) | |
" one of these stoplines will be adjusted below, but the current values are | |
" minimal boundaries within the current window | |
if i % 2 == 0 | |
if has("byte_offset") && has("syntax_items") && &smc > 0 | |
let stopbyte = min([line2byte("$"), line2byte(".") + col(".") + &smc * 2]) | |
let stopline = min([bottom_viewable, byte2line(stopbyte)]) | |
else | |
let stopline = min([bottom_viewable, c_lnum + 100]) | |
endif | |
let stoplinebottom = stopline | |
else | |
if has("byte_offset") && has("syntax_items") && &smc > 0 | |
let stopbyte = max([1, line2byte(".") + col(".") - &smc * 2]) | |
let stopline = max([top_viewable, byte2line(stopbyte)]) | |
else | |
let stopline = max([top_viewable, c_lnum - 100]) | |
endif | |
let stoplinetop = stopline | |
endif | |
let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline) | |
endtry | |
if before > 0 | |
if has_getcurpos | |
call setpos('.', save_cursor) | |
else | |
call winrestview(save_cursor) | |
endif | |
endif | |
" If a match is found setup match highlighting. | |
if m_lnum > 0 && m_lnum >= stoplinetop && m_lnum <= stoplinebottom | |
if exists('*matchaddpos') | |
call matchaddpos('MatchParen', [[c_lnum, c_col - before], [m_lnum, m_col]], 10, 3) | |
else | |
exe '3match MatchParen /\(\%' . c_lnum . 'l\%' . (c_col - before) . 'c\)\|\(\%' . m_lnum . 'l\%' . m_col . 'c\)/' | |
endif | |
let w:paren_hl_on = 1 | |
endif | |
FUNCTION <SNR>16_Remove_Matches() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\plugin\matchparen.vim:196 | |
Called 47 times | |
Total time: 0.000514 | |
Self time: 0.000514 | |
count total (s) self (s) | |
47 0.000233 if exists('w:paren_hl_on') && w:paren_hl_on | |
silent! call matchdelete(3) | |
let w:paren_hl_on = 0 | |
47 0.000033 endif | |
FUNCTION <SNR>60_ClearHighlighting() | |
Defined: C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\vim-better-whitespace\plugin\better-whitespace.vim:190 | |
Called 485 times | |
Total time: 0.016504 | |
Self time: 0.016504 | |
count total (s) self (s) | |
485 0.016197 silent! call matchdelete(get(s:, 'match_id', -1)) | |
FUNCTION <SNR>80_try_cmd() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\autoload\provider\clipboard.vim:37 | |
Called 0 times | |
Total time: 0.000000 | |
Self time: 0.000000 | |
count total (s) self (s) | |
let out = systemlist(a:cmd, (a:0 ? a:1 : ['']), 1) | |
if v:shell_error | |
if !exists('s:did_error_try_cmd') | |
echohl WarningMsg | |
echomsg "clipboard: error: ".(len(out) ? out[0] : v:shell_error) | |
echohl None | |
let s:did_error_try_cmd = 1 | |
endif | |
return 0 | |
endif | |
return out | |
FUNCTION provider#clipboard#Call() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\autoload\provider\clipboard.vim:230 | |
Called 0 times | |
Total time: 0.000000 | |
Self time: 0.000000 | |
count total (s) self (s) | |
if get(s:, 'here', v:false) " Clipboard provider must not recurse. #7184 | |
return 0 | |
endif | |
let s:here = v:true | |
try | |
return call(s:clipboard[a:method],a:args,s:clipboard) | |
finally | |
let s:here = v:false | |
endtry | |
FUNCTION <SNR>111_setup_toc() | |
Defined: ~\Portable\Neovim\share\nvim\runtime\ftplugin\qf.vim:20 | |
Called 1 time | |
Total time: 0.000012 | |
Self time: 0.000012 | |
count total (s) self (s) | |
1 0.000010 if get(w:, 'quickfix_title') !~# '\<TOC$' || &syntax != 'qf' | |
1 0.000001 return | |
endif | |
let list = getloclist(0) | |
if empty(list) | |
return | |
endif | |
let bufnr = list[0].bufnr | |
setlocal modifiable | |
silent %delete _ | |
call setline(1, map(list, 'v:val.text')) | |
setlocal nomodifiable nomodified | |
let &syntax = getbufvar(bufnr, '&syntax') | |
FUNCTION <SNR>60_SetupAutoCommands() | |
Defined: C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\vim-better-whitespace\plugin\better-whitespace.vim:340 | |
Called 485 times | |
Total time: 0.114609 | |
Self time: 0.075307 | |
count total (s) self (s) | |
485 0.001376 augroup better_whitespace | |
" Reset all auto commands in group | |
485 0.018398 autocmd! | |
485 0.022888 0.012188 if <SID>ShouldHighlight() | |
40 0.000080 if s:better_whitespace_initialized == 0 | |
call <SID>WhitespaceInit() | |
40 0.000029 endif | |
" Highlight extraneous whitespace at the end of lines, but not the current line in insert mode. | |
40 0.005331 0.001158 call <SID>HighlightEOLWhitespace() | |
40 0.000690 autocmd CursorMovedI,InsertEnter * call <SID>HighlightEOLWhitespaceExceptCurrentLine() | |
40 0.000541 autocmd InsertLeave,BufReadPost * call <SID>HighlightEOLWhitespace() | |
40 0.000085 if g:current_line_whitespace_disabled_soft == 0 | |
" Using syntax: clear whitespace highlighting when leaving buffer | |
40 0.000324 autocmd BufWinLeave * if expand("<afile>") == expand("%") | call <SID>ClearHighlighting() | endif | |
" Do not highlight whitespace on current line in insert mode | |
40 0.000251 autocmd CursorMovedI * call <SID>HighlightEOLWhitespaceExceptCurrentLine() | |
" Do not highlight whitespace on current line in normal mode? | |
40 0.000066 if g:current_line_whitespace_disabled_hard == 1 | |
autocmd CursorMoved * call <SID>HighlightEOLWhitespaceExceptCurrentLine() | |
40 0.000021 endif | |
40 0.000016 endif | |
445 0.000868 elseif s:better_whitespace_initialized == 1 | |
" Clear highlighting if it disabled, as it might have just been toggled | |
445 0.027130 0.010948 call <SID>ClearHighlighting() | |
485 0.000345 endif | |
" Strip whitespace on save if enabled. | |
485 0.023609 0.015362 if <SID>ShouldStripWhitespaceOnSave() | |
autocmd BufWritePre * call <SID>StripWhitespaceOnSave(v:cmdbang) | |
485 0.000228 endif | |
485 0.000690 augroup END | |
FUNCTION <SNR>60_HighlightEOLWhitespace() | |
Defined: C:\Work\Temp\Neovim\data\LunarVim\site\pack\packer\start\vim-better-whitespace\plugin\better-whitespace.vim:172 | |
Called 40 times | |
Total time: 0.004172 | |
Self time: 0.003159 | |
count total (s) self (s) | |
40 0.001280 0.000959 call <SID>ClearHighlighting() | |
40 0.001597 0.000905 if <SID>ShouldHighlight() | |
40 0.001214 let s:match_id = matchadd('ExtraWhitespace', s:eol_whitespace_pattern, 10, get(s:, 'match_id', -1)) | |
40 0.000024 endif | |
FUNCTIONS SORTED ON TOTAL TIME | |
count total (s) self (s) function | |
245 7.050313 6.613126 <SNR>1_LoadFTPlugin() | |
245 3.849984 3.825071 <SNR>11_SynSet() | |
245 1.672516 <SNR>2_LoadIndent() | |
485 0.114609 0.075307 <SNR>60_SetupAutoCommands() | |
485 0.016504 <SNR>60_ClearHighlighting() | |
525 0.011392 <SNR>60_ShouldHighlight() | |
485 0.008247 <SNR>60_ShouldStripWhitespaceOnSave() | |
43 0.004787 0.004323 <SNR>16_Highlight_Matching_Pair() | |
40 0.004172 0.003159 <SNR>60_HighlightEOLWhitespace() | |
7 0.002136 0.002108 <SNR>61_display_annotation() | |
47 0.000514 <SNR>16_Remove_Matches() | |
5 0.000028 bm#has_bookmark_at_line() | |
4 0.000017 <SNR>36_dopopd() | |
1 0.000012 <SNR>111_setup_toc() | |
<SNR>80_try_cmd() | |
9() | |
provider#clipboard#Call() | |
FUNCTIONS SORTED ON SELF TIME | |
count total (s) self (s) function | |
245 7.050313 6.613126 <SNR>1_LoadFTPlugin() | |
245 3.849984 3.825071 <SNR>11_SynSet() | |
245 1.672516 <SNR>2_LoadIndent() | |
485 0.114609 0.075307 <SNR>60_SetupAutoCommands() | |
485 0.016504 <SNR>60_ClearHighlighting() | |
525 0.011392 <SNR>60_ShouldHighlight() | |
485 0.008247 <SNR>60_ShouldStripWhitespaceOnSave() | |
43 0.004787 0.004323 <SNR>16_Highlight_Matching_Pair() | |
40 0.004172 0.003159 <SNR>60_HighlightEOLWhitespace() | |
7 0.002136 0.002108 <SNR>61_display_annotation() | |
47 0.000514 <SNR>16_Remove_Matches() | |
5 0.000028 bm#has_bookmark_at_line() | |
4 0.000017 <SNR>36_dopopd() | |
1 0.000012 <SNR>111_setup_toc() | |
9() | |
provider#clipboard#Call() | |
<SNR>80_try_cmd() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment