aboutsummaryrefslogtreecommitdiff
path: root/contrib/vimrc
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16Update copyright years.Jakub Jelinek1-1/+1
2021-07-20Limit fill-column to 79Richard Earnshaw1-1/+1
The current line-length limit is set to 80, but that allows a character to appear in the 80th column, and that causes emacs to display a line-wrap followed by a blank line when the display/window width is 80 columns. Furthermore, this seems to contradict the coding-style rules on the wiki which suggest that the line limit should be 79. So reduce the line width in both the emacs control file and the contrib vimrc file to 79 characters. ChangeLog: * .dir-locals.el (c-mode): Change fill-column to 79. contrib/ChangeLog: * vimrc (textwidth): Change non-gitcommit length to 79.
2020-07-23contrib/vimrc: detect more C-like filesPatrick Palka1-1/+1
Currently this script doesn't set the indentation style for the standard library headers under libstdc++/ because they lack a file extension. But they do have a modeline, so the file type is still set appropriately by Vim. So by inspecting &filetype, we can also detect these standard library headers as C-like files. contrib/ChangeLog: * vimrc (SetStyle): Also inspect &filetype to determine whether a file is C-like.
2020-05-13contrib/vimrc: Reduce textwidth for commit messagesPatrick Palka1-1/+5
* vimrc: Reduce textwidth to 72 for Git commit messages.
2020-04-17Do not modify tab options in vimrc for .py files.Martin Liska1-6/+8
* vimrc: We do not want to modify tab options for Python files.
2019-09-02contrib/vimrc: override formatting options for more filesAlexander Monakov1-6/+6
* vim-gcc-dev/syntax/gcc-match.vim: Do not override 'tabstop' here. * vimrc: Set preferred values for 'tabstop', 'softtabstop', 'shiftwidth', 'noexpandtab', 'textwidth', 'formatoptions' for all files, not just C-like files. From-SVN: r275316
2017-01-05vimrc: fix TAB settingsMartin Liska1-0/+3
2017-01-05 Martin Liska <mliska@suse.cz> * vimrc: Update indentation definition. From-SVN: r244094
2014-12-09Local Vim config with GNU formatting.Yury Gribov1-0/+45
2014-12-09 Laurynas Biveinis <laurynas.biveinis@gmail.com> Yury Gribov <y.gribov@samsung.com> / * .gitignore: Added .local.vimrc and .lvimrc. * Makefile.tpl (vimrc, .lvimrc, .local.vimrc): New targets. * Makefile.in: Regenerate. contrib/ * vimrc: New file. From-SVN: r218514