diff --git a/custom-snippets/haskell.snippets b/custom-snippets/haskell.snippets new file mode 100644 index 0000000..046a635 --- /dev/null +++ b/custom-snippets/haskell.snippets @@ -0,0 +1,4 @@ +snippet docsec + ------------------------ + --[ ${0:DOCUMENT SECTION} ]-- + ------------------------ diff --git a/custom-snippets/markdown.snippets b/custom-snippets/markdown.snippets new file mode 100644 index 0000000..6d98344 --- /dev/null +++ b/custom-snippets/markdown.snippets @@ -0,0 +1,2 @@ +snippet tc + \textcolor{${1:red}}{${0}} diff --git a/vimrc b/vimrc index 1db9746..7211c99 100644 --- a/vimrc +++ b/vimrc @@ -183,6 +183,7 @@ if has('conceal') endif " Enable snipMate compatibility feature. let g:neosnippet#enable_snipmate_compatibility = 1 +let g:neosnippet#snippets_directory='~/.vim/custom-snippets' " vim airline