Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.523 kB
" Vim file type detection script
" Author: Peter Odding <peter@peterodding.com>
" Last Change: November 26, 2011
" URL: http://peterodding.com/code/vim/notes
" Initialize the configuration defaults.
call xolox#notes#init()
" Define the automatic commands used to recognize notes.
for s:directory in [g:notes_directory, g:notes_shadowdir]
execute 'autocmd BufNewFile,BufRead'
\ xolox#notes#autocmd_pattern(s:directory)
\ 'if empty(&buftype) | setlocal filetype=notes | endif'
endfor
" vim: ts=2 sw=2 et
Jump to Line
Something went wrong with that request. Please try again.