Commit graph

65 commits

Author SHA1 Message Date
Bruno BELANYI c9a2b25a2c [UPDATE][VIM] Number toggle without a plug-in
It's really just a few lines of really simple Vimscript.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 6dd31874c8 [UPDATE][VIM] Move filetype files to 'after/' 2019-10-19 05:46:29 +02:00
Bruno BELANYI 90be3d4dba [ADD][VIM] Use flags from compile_command with ALE 2019-10-19 05:46:29 +02:00
Bruno BELANYI 809a348490 [ADD][VIM] Mappings to navigate quickfix history
It also supports navigating the location list history when inside a
location list.

The autoload plug-in idea was taken from this Vimways article:
<https://vimways.org/2018/colder-quickfix-lists/>
2019-10-19 05:46:29 +02:00
Bruno BELANYI b02cec8fff [ADD][VIM] Use spell-checking for git commit 2019-10-19 05:46:29 +02:00
Bruno BELANYI 1944ed578d [ADD][VIM] Use pyls in Pipenv with automatically
ALE can detect if the file you're currently editing is inside a Pipenv
environment, and use the pyls inside your environment to have access to
module definitions.

This doesn't launch pyls inside Pipenv when there's no environment
active for your file.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 4753e32c30 [ADD][VIM] Shellcheck options for ALE
I want shellcheck to detect which shell is most appropriate on the `sh`
filetype, but explicitly use the `bash` dialect on `bash` and `zsh`
filetypes.

I also really don't like nullary conditions in shell, so I'll screen for
those too.

I might turn on the 'quote-safe-variables' check too, because I think
quoting variables is a good habit to take.
2019-10-19 05:46:29 +02:00
Bruno BELANYI f747005981 [ADD][VIM] Use shfmt with ALE 2019-10-19 05:46:29 +02:00
Bruno BELANYI 02ad16c4e8 [ADD][VIM] Pandoc to markdown ALE alias 2019-10-19 05:46:29 +02:00
Bruno BELANYI bdb53424c3 [ADD][VIM] Use dfmt fixer with ALE 2019-10-19 05:46:29 +02:00
Bruno BELANYI 871c6fb299 [ADD][VIM] Use jq fixer with ALE 2019-10-19 05:46:29 +02:00
Bruno BELANYI c108143526 [UPDATE][VIM] More ALE linters for python
I de-activated the pycodestyle module for pyls because I already use
flake8 to do that job.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 5a13a35402 [ADD][VIM] Use rustfmt fixer with ALE 2019-10-19 05:46:29 +02:00
Bruno BELANYI b7579b0a9b [UPDATE][VIM] Use 88 columns limit on python files 2019-10-19 05:46:29 +02:00
Bruno BELANYI 5184dd5a56 [ADD][VIM] Use black fixer with ALE
This introduces the '.vim' folder to my dot-files repository. I'll have
to think about splitting my '.vimrc' file into multiple files inside the
'.vim' folder.
2019-10-19 05:46:29 +02:00