dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 446c5b0dbea53f80ba3ba8e2aba65d91fd0dde31
parent 716aa6636f7e5ad4f86b55851bb5e2bccba285a3
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Tue, 12 Sep 2017 10:24:44 -0400

disable automatic reflow except for specific file types. Add ctags definitions for julia source code

Diffstat:
M.ctags | 5+++++
M.vim/filetypes.vim | 1+
M.vimrc | 1-
3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.ctags b/.ctags @@ -2,3 +2,8 @@ --exclude=build --exclude=dist --exclude=output + +--langdef=julia +--langmap=julia:.jl +--regex-julia=/^[ \t]*(function|macro|abstract type|primitive type|struct|mutable struct|typealias)[ \t]+([^ \t({[]+).*$/\2/f,function/ +--regex-julia=/^[ \t]*(([^@#$ \t({[]+)|\(([^@#$ \t({[]+)\)|\((\$)\))[ \t]*(\{.*\})?[ \t]*\([^#]*\)[ \t]*=([^=].*$|$)/\2\3\4/f,function/ diff --git a/.vim/filetypes.vim b/.vim/filetypes.vim @@ -11,6 +11,7 @@ autocmd FileType tex,latex,md,markdown,mkd,rst,mail \ | setl fdo+=search \ | setl nocursorcolumn \ | setl list + \ | setl formatoptions=alw2qt " automatically reflow paragraphs "\ | setl spell spl=en_us noru nonu nornu "\ | let b:dispatch = 'sh /usr/local/bin/preview %:p' " diff --git a/.vimrc b/.vimrc @@ -21,7 +21,6 @@ set backupcopy=yes " see :help crontab set cursorline " highlight current line "set encoding=utf-8 " Necessary to show unicode glyphs set expandtab " convert tab char to spaces -set formatoptions=alw2qt " automatically reflow paragraphs to line width upon change set lbr " break lines between words set hlsearch " highlight search matches set ignorecase " case-insensitive search