c94bc3ba90
Add autoloaded echomsg utility functions
...
* `echo#warning({message})` sets `echohl WarningMsg` and echos the message
* `echo#error({message})` sets `echohl ErrorMsg` and echos the message
2021-01-06 00:23:19 +00:00
a0df92852a
Add :Build command to invoke ninja or make
...
The `:Build [<target> ...]` command utilises the `$BUILD_DIR` variable set
by `:BuildDir {directory}` to invoke `ninja` or `make` based on the
existence of `$BUILD_DIR/build.ninja` or `$BUILD_DIR/Makefile`
respectively. The following commands are invoked in a new `:terminal`
window.
* `ninja -C $BUILD_DIR [<target> ...]` when `$BUILD_DIR/build.ninja` exists
* `make -C $BUILD_DIR [<target> ...]` when `$BUILD_DIR/Makefile` exists
In the case of `ninja`, completion for the targets supplied to the
`:Build` command is made available by the `build#targets()` function.
The list of targets returned by `ninja -C $BUILD_DIR -t targets` is
processed to generate the list of targets. Support for `make` target
completion is less straight forwards so has been omitted for now.
2021-01-05 21:45:43 +00:00
0cd93f1823
Generalise tmux option check
2020-12-31 18:22:37 +00:00
db2079994a
Disable some cmakelint checks in ale
...
Some of `cmakelint`s opinions around convention don't provide a benefit.
2020-12-14 15:14:24 +00:00
c17f7ea0d9
Refactor tmux and set-clipboard detection
...
Move logic to `autoload/tmux.vim` to detect the `vim` is being run
inside a `tmux` sessions and if the `set-clipboard` option is enabled.
This cleans up adding the optional `oscyank.vim` plugin when needed.
2020-12-10 18:07:24 +00:00
76acb9cd90
Once again fix minpac initialization
2020-12-10 17:41:17 +00:00
48913e09c3
Fix isdirectory()
uses with relative paths
...
After upgrading VIM 8.2 (2019 Dec 12, compiled Oct 24 2020 16:26:37)
uses of `isdirectory()` with relative paths in `$MYVIMRC` stopped
working. These must now be absolute paths.
2020-12-10 17:38:58 +00:00
e4a11a2ffe
Fix package load init order bugs
...
* Move calls to `minpac#init()` into commands which use minpac
* Check if optional package directories exist before using `packadd`
2020-11-28 17:16:11 +00:00
3cc1e3d2d8
Change some Python highlight groups
2020-10-26 13:33:43 +00:00
6435ed4c4d
Add TODO to cpp syntax
2020-10-26 13:33:14 +00:00
d063e60559
Make explicit more implicit (and changed) hl groups
2020-10-26 13:32:47 +00:00
bc1de2d37f
Change Markdown default conceallevel
2020-10-07 11:31:08 +01:00
9e6169695d
Use the patience diff method
2020-10-07 11:30:48 +01:00
80c1b8653e
Highlight Exception group as Conditional
2020-10-07 11:30:08 +01:00
445ca8d6fd
Highlight the delimiter group
2020-10-06 17:17:13 +01:00
d960053dfc
Add :BuildDir to select YouCompleteMe build directory
2020-10-06 17:12:06 +01:00
b148f9fb68
Make sure CMake statements are highlighted as statements
2020-10-06 17:11:17 +01:00
529867b475
conduit: Don't automatically install/update packs
2020-08-04 13:59:08 +01:00
3449b3f815
Disable automatic hover in YouCompleteMe
2020-07-21 12:01:41 +01:00
67b9c6b45a
Check tmux exists before loading osc52
2020-07-19 20:25:29 +01:00
01059ac01a
Enable YouCompleteMe on Windows
2020-07-19 20:25:29 +01:00
858677ef79
Add jinja snippets inheriting from html
2020-07-18 13:54:22 +01:00
22b969c989
Add README file
2020-06-04 17:36:18 +01:00
158a6f5585
Don't let vim-matchup overwrite statusline
2020-05-14 12:53:21 +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
b40a9abb59
Only load YouCompleteMe when :TermDebug isn't
2020-04-02 12:14:13 +01:00
8fac5fb74f
Add OSC 52 escape sequence yank
...
If the `tmux` `set-clipboard` option is set to `on` add the `osc52yank`
plugin and change `<leader>y` mapping to use it.
2020-04-02 12:12:57 +01:00
72316785d5
Add CMake reStructuredText block snippet
2020-04-02 12:11:46 +01:00
b3a2208b42
Don't gate Python plugins on has('python')
2020-01-28 10:48:28 +00:00
a93489efe9
Add console filetype for Markdown/RST code blocks
2020-01-28 10:48:22 +00:00
489e6db231
Use tip YouCompleteMe from ycm-core org
...
Update to latest, community maintained, YouCompleteMe version and use
the same version on all platforms.
2020-01-16 23:27:15 +00:00
2bef425dee
Enable fzf plugins on Windows
2020-01-14 10:41:49 +00:00
7e79b97933
Add POC sanitizer filetype
2019-12-10 13:28:06 +00:00
aa3ae7df35
Don't use clangd with YouCompleteMe
2019-11-07 20:43:05 +00:00
7fb1352108
Improve C++ template snippet
2019-11-07 20:43:05 +00:00
23b9bf1f1b
Limit rst code block highlighting
2019-11-05 16:19:31 +00:00
cdcbab062e
Fix Doxygen retval highlights
2019-10-14 22:45:35 +01:00
3bbbbe2a63
Enable reStructuredText style option
2019-10-14 21:49:38 +01:00
b69f2d889d
Allow white space in cmake region matches
2019-10-09 16:53:41 +01:00
65d3e645b1
Add cmakecache filetype for CMakeCache.txt files
2019-10-04 20:30:04 +01:00
0d0e69a2ec
Add ANTLR filetype syntax
2019-09-08 17:09:59 +01:00
2ee41bb80f
Don't use array syntax in C main snippet
2019-09-07 23:41:05 +01:00
57257c1c9a
Add generic admonition snippet for rst files
2019-09-05 11:17:25 +01:00
c1d167f2e3
Add rst code-block snippet
2019-08-29 14:58:21 +01:00
92d88b623d
Disable airline word-count
...
When editing `rst` filetypes for longer periods airline started
producing errors when attempting to count the number of words in the
document, so disable this feature.
2019-08-29 14:57:11 +01:00
f85d59197a
Add reStructuredText admonition snippets
2019-08-26 15:22:00 +01:00
27c77881a3
Silent call tmux navigation flag functions
2019-08-21 14:57:43 +01:00
28804faf21
Add todo highlights to llvm syntax
2019-08-21 10:08:22 +01:00
e2e2be6e44
Don't syntax highlight text after #{warning,error}
2019-08-17 15:00:27 +01:00