Commit Graph

692 Commits

Author SHA1 Message Date
Dionisio E Alonso 881a3b70ce feat(emacs): Move font attributes outside custom-set-font
As with previous change, the custom-set-font interface reorders stuff
it's own way.  Moving this settings outside that scope makes the
settings stay put.
2024-02-03 15:08:07 -03:00
Dionisio E Alonso 7a260bf0da feat(emacs): Move settings outside customize
Emacs customization interface has it's own way to sort settings out.
With this change, the same settings' effects are achieved manually
without having to rely on the internal sorting the customize interface
intends.
2024-02-03 15:03:17 -03:00
Dionisio E Alonso cd10517361 Merge branch 'pylsp-settings' 2024-01-31 00:24:49 -03:00
Dionisio E Alonso 848d6377f1 feat(mypy): Change configuration format
Changed mypy configuration file format from INI to TOML.  It works all
the same and in this way there are more similarities with the format
inside pyproject.toml file.
2024-01-31 00:22:20 -03:00
Dionisio E Alonso 07b3b2a6df Merge branch 'master' into pylsp-settings 2024-01-31 00:21:38 -03:00
Dionisio E Alonso 1ca997c674 feat(mypy): Reorder some options in preference order 2024-01-31 00:20:04 -03:00
Dionisio E Alonso 9a003190ed feat(Vim): Turn off folding display by default 2024-01-29 05:47:24 -03:00
Dionisio E Alonso ea03e3300a feat(Neovim): Correct folding options
The function that added nice text for folded blocks was reverted in
https://github.com/neovim/neovim/pull/27217 in favor of the default text
generated by setting the folding-text option to `""`.
2024-01-29 05:43:31 -03:00
Dionisio E Alonso 1d2aa742e8 Merge branch 'refactor-lua-configs' 2024-01-26 13:53:22 -03:00
Dionisio E Alonso bd061bf7b3 feat(LSP): Delete unused variables
There is no need for these variables under this auto-command.
2024-01-26 13:50:01 -03:00
Dionisio E Alonso 97e4052934 feat(LSP): Delete erroneous argument `buffer`
The argument `buffer` us used for another type of autocmd's, those with
whole buffer scope.
2024-01-26 13:48:02 -03:00
Dionisio E Alonso 5971e6e019 feat(shells): Add an alias for vi to run nvim
This fallback is in case an app ignores the `EDITOR` env variable, and
directly runs the command `vi` as a default for tui text editor.
2024-01-26 12:30:44 -03:00
Dionisio E Alonso ae1d9a6043 feat(Fish): Set default editor to Neovim
Using the recommendation in the FAQ
(https://fishshell.com/docs/current/faq.html#why-doesn-t-set-ux-exported-universal-variables-seem-to-work),
set the `EDITOR` environment variable to `nvim`.
2024-01-26 10:04:08 -03:00
Dionisio E Alonso 72fc1f4244 feat(Vim): Add some extra folding functionality
Not quite working yet, but is the first attempt to mimic Treesitter's
functionality in Neovim.
2024-01-25 20:44:23 -03:00
Dionisio E Alonso fb843d5dbc Merge branch 'refactor-lua-configs' 2024-01-25 13:15:26 -03:00
Dionisio E Alonso 82d55e6231 feat(Neovim/Vim): Add some basic folding functionality 2024-01-25 13:11:17 -03:00
Dionisio E Alonso 9b659ae6dd feat(templates): Bump some hook's versions 2024-01-24 22:28:18 -03:00
Dionisio E Alonso 8c40b02eda feat(templates): Add a pre-commit template for Python project hooks 2024-01-24 22:23:04 -03:00
Dionisio E Alonso fa9077a603 feat(LSP): Change functionality in diagnostics pop-up
Now, the automatic pop-up that appears when the cursor is idle, appears
en both, Normal and Insert modes; and only displays messages under the
cursor, not the entire line.

For the other behavior, there is still the keybinding `<space>`+`e`.
2024-01-24 18:42:52 -03:00
Dionisio E Alonso 1880c45bc8 feat(templates): Update default C standard in Makefile 2024-01-24 17:25:27 -03:00
Dionisio E Alonso b204811426 feat(Git): Add nice default date format for blame 2024-01-24 17:16:19 -03:00
Dionisio E Alonso cc9b4d7582 Merge branch 'pylsp-settings' 2024-01-23 19:45:08 -03:00
Dionisio E Alonso 7ac935e2ca feat(templates): Add some nice defaults for Pylint 2024-01-23 19:43:13 -03:00
Dionisio E Alonso 56ca26d493 feat(Pylint): Add nice configurations to pytest
This configurations are intended to be used as either, user
configuration, or in a project.
2024-01-23 19:31:08 -03:00
Dionisio E Alonso 0d08a423d3 feat(LSP): Add minimum configuration to Fourmolu. 2024-01-23 19:29:10 -03:00
Dionisio E Alonso 741ad52052 feat(templates): Add some comments explaining 2024-01-23 19:25:52 -03:00
Dionisio E Alonso 4e30f2806f feat(templates): Add mypy base settings to pyproject.toml 2024-01-23 18:59:42 -03:00
Dionisio E Alonso 2f9692c1e3 feat(templates): Add defaults for Pylint in pyproject.toml
Also included some duplicated messages that can be excluded because they
are already covered by other linters.
2024-01-23 16:47:05 -03:00
Dionisio E Alonso 4025066a19 feat(templates): Add Flake8 defaults in pyproject.toml 2024-01-23 16:45:25 -03:00
Dionisio E Alonso 43bf852b71 feat(templates): Add default exclusion for Ruff 2024-01-23 16:43:44 -03:00
Dionisio E Alonso ede333abc5 feat(templates): Add first attempt at a pyproject.toml template
Added ruff rules copied from ruff.toml but changing the max-line-length
argument.
2024-01-23 16:29:06 -03:00
Dionisio E Alonso 0db220678a Merge branch 'master' into pylsp-settings 2024-01-23 16:26:06 -03:00
Dionisio E Alonso 83c1c4f10d feat(LSP): Add missing duplicate Pylint message
Added a newly found Pylint message that's duplicated by pycodestyle (via
Flake8).

This message wasn't on the documentation but has a PR and is awaiting
approval.
2024-01-23 16:24:07 -03:00
Dionisio E Alonso eb2204a567 feat(LSP): Minor whitespace fix 2024-01-23 16:23:05 -03:00
Dionisio E Alonso 8550e82f06 feat(templates): Add some templates for Makefiles
The purpose of this Makefile and base.mk files are to emulate the
behavior of command `make` when only given a build target (inferring the
source file to use); but using instead a custom set of building flags.

base.mk holds those custom set of building flags, Makefile is just the
wrapper to add get the target name and source file.
2024-01-23 12:54:24 -03:00
Dionisio E Alonso 5e8067677c feat(templates): Add a clang-format template file
As starting with the versioning of templates that can only be used as
per-project basis, the clang-format template file and a README are
added.
2024-01-23 11:53:31 -03:00
Dionisio E Alonso 7b1944e11a Merge branch 'pylsp-settings' 2024-01-23 11:28:40 -03:00
Dionisio E Alonso 7cbc5f95e5 feat(LSP): Add a default clangd configuration
In order to achieve the same linting as when compiling a C project, use
those default compilation options for linting inside text editors that
support clangd LSP.
2024-01-23 11:26:40 -03:00
Dionisio E Alonso 981abbc56b feat(LSP): Reorder some Pylint error codes in pylintrc file
Reordered in each subset of the “disable” sections, all the error codes
according to their numbered error code.

Also, renamed an error code documented as such
(https://pylint.rtfd.io/en/latest/user_guide/messages/convention/unneeded-not.html)
2024-01-23 11:18:57 -03:00
Dionisio E Alonso 29e38da242 Merge branch 'pylsp-settings' 2024-01-23 10:34:50 -03:00
Dionisio E Alonso 03294e28cc feat(LSP): Break some long lines in pylintrc.toml file 2024-01-23 10:33:55 -03:00
Dionisio E Alonso 927cfa6a95 feat(LSP): Unfold error message in Pylint disable
According to message convention, the “missing-docstring” message is
unfolded into three separate messages.  This change abides to that
documentation.
2024-01-23 10:26:34 -03:00
Dionisio E Alonso c774ccf89f feat(LSP): Uncomment disable for docstrings in Pylint
Disable the check for missing docstrings in Pylint.  The check is not
covered by other linters, but it will be disabled anyways.
2024-01-23 10:14:31 -03:00
Dionisio E Alonso b0cfeb9888 feat(LSP): Add some default disables for Pylint
Using the FAQ of the project, disabled some checks that are already
covered by Flake8.
2024-01-23 10:13:52 -03:00
Dionisio E Alonso 76d872d09a feat(Neovim): Add some fallbacks for pre-release
As some parts of the configuration are meant to work on the current
pre-release version.  To make the settings work on current release
version there were added some guards around the experimental code.
2024-01-23 08:25:01 -03:00
Dionisio E Alonso 20259cbb4e Merge branch 'refactor-lua-configs' 2024-01-22 21:42:59 -03:00
Dionisio E Alonso 49878a0ff4 feat(LSP): Reorder some diagnostics configurations 2024-01-22 21:39:45 -03:00
Dionisio E Alonso 0ec2c14a82 Merge branch 'coc-retouches' 2024-01-22 15:58:30 -03:00
Dionisio E Alonso 50a61778e7 feat(Vim): Change LSP for Python in CoC 2024-01-22 15:56:09 -03:00
Dionisio E Alonso fff98b3bf5 feat(Vim): Update diagnostics icons for CoC 2024-01-22 15:32:04 -03:00