123 Commits

Author SHA1 Message Date
f00eb38200 Fix coc.nvim mappings in C/C++ files 2021-04-19 20:10:29 +01:00
4e00e225d4 Don't show signcolumn when filetype man 2021-04-18 14:42:33 +01:00
96ff72433d Change yaml default syntax highlights 2021-04-18 14:42:33 +01:00
837aa12f9f Replace osc52yank.vim with autoload script 2021-04-18 14:42:33 +01:00
3a2337cd63 Add do#show_documentation() using coc.nvim
Change the `K` normal mode overrides to use the example given in the
coc.nvim README file which uses Vim's builtin help when in `vim` or
`help` files, or checks if coc.nvim is ready and invokes
`CocActionAsync('doHover')`, otherwise fallback to using `keywordprg`.
2021-04-18 14:42:33 +01:00
ecd8659df7 Use tab width of 2 in yaml files 2021-04-18 14:42:33 +01:00
d6106bac84 Add statusline support for nvim's man pager filetype 2021-04-18 14:42:33 +01:00
bf6deaf1ed Configure cmake-language-server and coc-cmake
Utilises the following Python package:

```console
$ pip3 install --user cmake-language-server
```
2021-04-18 14:42:33 +01:00
92a23103e3 Fix vim-tmux-focus-events errors in command-line
When changing focus away and back to vim while in the middle of editing
the command-line, vim-tmux-focus-events emits errors from the function
called by the `:cnoremap` mappings. This patch replaces these mappings
with a call to `do#sink()` which does nothing. Simply removing the
mappings will result in `<F24><F25>` being inserted on the command-line
since tmux will send this text when `tmux set-option -g focus-events
on`, this is why `do#sink()` is needed.
2021-01-27 19:23:13 +00:00
3cc1e3d2d8 Change some Python highlight groups 2020-10-26 13:33:43 +00:00
bc1de2d37f Change Markdown default conceallevel 2020-10-07 11:31:08 +01:00
b148f9fb68 Make sure CMake statements are highlighted as statements 2020-10-06 17:11:17 +01:00
3ffda34a29 Remove Markdown todo highlights 2020-04-07 13:23:16 +01:00
3e639c4936 Remove extra HTML syntax todo highlights 2020-04-07 13:22:35 +01:00
cdcbab062e Fix Doxygen retval highlights 2019-10-14 22:45:35 +01:00
b69f2d889d Allow white space in cmake region matches 2019-10-09 16:53:41 +01:00
e2e2be6e44 Don't syntax highlight text after #{warning,error} 2019-08-17 15:00:27 +01:00
5f93199735 Improve the list of indent keys for cmake filetype 2019-07-24 13:57:22 +01:00
6d2fbc2ac5 Add cmake surround for generator expressions 2019-04-04 17:24:32 +01:00
f730d382bc Highlight *.ronn as markdown 2019-03-17 16:03:33 +00:00
8a10516961 Extend syntax/llvm.vim for better highlighting 2018-12-13 16:19:46 +00:00
8fc26f9227 Add python highlight blocks to gdbinit syntax 2018-12-03 11:39:51 +00:00
51621e8134 Remove vim-plug and use minpac
* Add `Pack`, `PackUpdate`, `PackStatus` and `PackClean` commands to
  manage plugins.
* Don't load `minpac` by default.
* Remove `vim-plug` completely.
2018-11-30 19:41:21 +00:00
91dc036e8f Open *.def has cpp filetype 2018-10-25 19:06:00 +01:00
53c971b802 Use vim-coiled-snake instead of custom Python fold 2018-09-03 22:16:40 +01:00
e745c6ebdf Improve C/C++ intent settings 2018-08-28 11:10:40 +01:00
825b947de6 Fix switch case statement indentation 2018-08-26 11:49:11 +01:00
c019ce9d67 Use default tabstop width 2018-08-26 11:48:55 +01:00
c9ae77e5a2 Open .enter and .exit as zsh filetype 2018-08-26 11:25:41 +01:00
91eeee13bc Add delimiter highlighting to zsh 2018-08-26 10:51:11 +01:00
970c674381 Set lit[.local].cfg to Python & disable ALE 2018-08-26 10:51:11 +01:00
1be7ef4250 Don't highlight markdown errors 2018-08-26 10:51:11 +01:00
d225180985 Change netrw highlight group 2018-08-26 10:51:11 +01:00
02370ce6e7 Add TODO for Python syntax folding bug 2018-08-26 10:51:11 +01:00
f75b723ec6 Add make filetype config 2018-08-26 10:51:11 +01:00
3dedbaf1c4 Set commentstring for OpenCL files 2018-08-26 10:51:11 +01:00
47bc7f0eb3 Use 4 space tabs in YAML files 2018-08-26 10:51:11 +01:00
946c5bc252 Enable spelling for asciidoc filetype 2018-08-26 10:50:08 +01:00
e8a6098bd6 Update gitconfig filetype to use tabstop=8 2018-08-26 10:50:08 +01:00
67257ebb98 Use global setting for Python highlights 2018-08-26 10:50:07 +01:00
5f08372d83 Obey cpp options in c syntax file 2018-08-26 10:50:07 +01:00
3dd8259c01 Add missing zsh option keyword to vim syntax 2018-08-26 10:50:07 +01:00
b5f51c0542 Add function folding to zsh filetype 2018-08-26 10:50:07 +01:00
f90b63d30d Add % and . to llvm iskeyword list 2018-08-26 10:50:07 +01:00
fbba77dede Use default tab width in markdown
Also check if +syntax is available before enabling spell.
2018-08-26 10:50:07 +01:00
939e5e0599 Don't set global settings in ftplugin 2018-08-26 10:50:07 +01:00
df48f1f607 Add syntax folding for cmake 2018-08-26 10:50:07 +01:00
7df1cb7b26 Document indent options & check they exist 2018-08-26 10:50:07 +01:00
919c3e6b88 Tweet json filetype & syntax settings 2018-08-26 10:50:07 +01:00
12755c630b Add C inline comment surround mapping 2018-08-26 10:50:07 +01:00