Compare commits

..

6 Commits

Author SHA1 Message Date
df043515e4 Don't call coc#status() if it doesn't exist 2021-04-18 14:42:33 +01:00
5c3b9ee44b Use coc-jedi and coc-pyright instead of coc-pyls 2021-04-18 14:42:33 +01:00
c41626dc50 Add a call to coc#status() in statusline
Don't miss out on the status of coc.nvim by insuring updates are
rendered in the statusline.
2021-04-18 14:42:33 +01:00
99d793c4b0 Ignore compiled python files 2021-04-18 14:42:33 +01:00
559e9411e5 Fix coc.nvim mappings in C/C++ files 2021-04-18 14:42:33 +01:00
7c05e65929 Move formatexpr config in-tree, out of plugin
Introduces the `format` Python module which provides `clang_format()`
and `yapf()` functions which efficiently (compared to vimscript) invoke
`clang-format` or `yapf` respectively then apply the minimal number of
changes using `difflib.SequenceMatcher`.

Additionally, in order to invoke these Python functions add |autoload|
functions `format#clang_format()` and `format#yapf()` which can be
directly used by the 'formatexpr' setting.

Finally, add |ftplugin| files which set 'formatexpr' when the |autoload|
functions are available.
2021-04-18 14:42:33 +01:00

Binary file not shown.