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
" don't close window, when deleting a buffer | |
command! Bclose call <SID>BufcloseCloseIt() | |
fu! <SID>BufcloseCloseIt() | |
let l:currentBufNum = bufnr("%") | |
let l:alternateBufNum = bufnr("#") | |
if buflisted(l:alternateBufNum) | |
buffer # | |
else |
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
fun! GetSnippets(dir) | |
let snippetFiles = split(globpath(expand(a:dir), '**/*.snippet'), '\n') | |
for fullpath in snippetFiles | |
let tail = strpart(fullpath, strlen(expand(a:dir))) | |
let ft = substitute(tail, '^/\([^/]*\).*', '\1', '') | |
let keyword = substitute(tail, '^/[^/]*\(.*\)', '\1', '') | |
if !exists('g:did_ft_{ft}') | |
call ExtractSnips(fullpath, ft) |
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
function! s:Marker.addRevlookup(lnum, index, istab) | |
" get current list of tabstops per line | |
if !exists('s:Marker.revlookup[a:lnum]') | |
if a:istab | |
let lookupList = {'tab': [a:index], 'ph': []} | |
else | |
let lookupList = {'tab': [], 'ph': [a:index]} | |
endif | |
let s:Marker.revlookup = lookupList |
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
let s:Marker = {} | |
let s:Marker.revlookup = {} | |
function! s:Marker.addRevlookup(lnum, index, istab) | |
" get current list of tabstops per line | |
if !exists('s:Marker.revlookup[a:lnum]') | |
if a:istab | |
let lookupList = {'tab': [a:index], 'ph': []} | |
else | |
let lookupList = {'tab': [], 'ph': [a:index]} | |
endif |
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
***** automake ***** | |
***** PWD: /opt/local/gentoo/var/tmp/portage/dev-libs/glib-2.20.1-r1/work/glib-2.20.1 | |
***** automake --add-missing --copy | |
gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL | |
docs/reference/gio/Makefile.am:107: `gtk-doc.make' included from here | |
gtk-doc.make:50: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | |
docs/reference/gio/Makefile.am:107: `gtk-doc.make' included from here | |
gtk-doc.make:175: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL | |
docs/reference/gio/Makefile.am:107: `gtk-doc.make' included from here |
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
fun! Test123() | |
return 3 | |
endf |
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
fun! Test123() | |
return 3 | |
endf |
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
fun! Test123() | |
return 3 | |
endf |
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
fun! Test123() | |
return 3 | |
endf |
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
fun! Test123() | |
return 3 | |
endf |
OlderNewer