Commit Graph

692 Commits

Author SHA1 Message Date
Dionisio E Alonso 545b81f176 feat(LSP): Reduce coalescing between blocks of code
Brought some lines that can be together, further closer to improve
readability.
2024-01-02 18:58:39 -03:00
Dionisio E Alonso 1fbe5ef6f5 Merge branch 'master' into refactor-lua-configs 2023-12-31 18:49:18 -03:00
Dionisio E Alonso 85d51fc55b Merge branch 'on-attach-refactor' into refactor-lua-configs 2023-12-31 16:48:13 -03:00
Dionisio E Alonso 1d5e0676a2 feat(LspAttach): Correct indentation in LspAttach function 2023-12-31 16:47:12 -03:00
Dionisio E Alonso 48c9c1b2a7 feat(LspAttach): Use the LspAttach hook to replace custom on_attach
With this replacement, same as for keymaps, now, the on_attach argument
on LSP servers setup can be completely avoided.  This change ends up
simplifying the LSP-server setup step making it more general.
2023-12-31 16:42:08 -03:00
Dionisio E Alonso f9d59d9235 feat(LspAttach): Correct indentation in keymaps function 2023-12-31 14:01:00 -03:00
Dionisio E Alonso 928a7e4bf9 feat(LspAttach): Make use of the LspAttach hook for keymaps
Instead of calling the function that sets all the custom keymaps at the
end of the custom `on_attach` function, directly add the function as a
hook to the LspAttach event.

With this change more modularization is possible, being able to move all
the keymaps settings to other parts of the config files.
2023-12-31 13:55:12 -03:00
Dionisio E Alonso 7fa13bd343 feat(emacs): Delete unnecessary setting. It's the default 2023-12-07 20:43:31 -03:00
Dionisio E Alonso 7be91c5d50 feat(emacs): Move setting to the correct scope 2023-12-07 20:42:57 -03:00
Dionisio E Alonso 734d82d929 feat(emacs): Update fontface to use Iosevka as well 2023-12-07 09:14:04 -03:00
Dionisio E Alonso 7147e1742f feat(emacs): Migrate configuration to newer versions 2023-12-06 16:59:25 -03:00
Dionisio E Alonso 1fadee0285 refactor: Rename variable in client-server settings module
Rename Lua table to a more general name because now not only "settings"
values are stored in each servers' module, but others like `cmd` as
well.
2023-11-26 19:05:04 -03:00
Dionisio E Alonso 140c6c3681 feat(Neovim): Update VSCode's codicons signs in diagnostics 2023-11-14 16:02:04 -03:00
Dionisio E Alonso 8f100cbfc9 feat(TilingAssistant): Minor corrections to the Coding profile, 1920×1080
Added a default separation of 4 (instead of the previous 2 for 1366×720)
between windows when in tiled positions.  After that default separation,
distances had to bee adjusted a little bit.
2023-09-21 09:17:59 -03:00
Dionisio E Alonso 484092ed57 feat(Neovim): Minor refactor in TreeSitter settings file 2023-09-20 08:38:01 -03:00
Dionisio E Alonso 99344ab82a feat(Neovim): Add auto-install setting to TreeSitter
Instead of relying on constantly keeping up to date the list of ensured
installed parsers, auto-install them as long as they are being needed by
the editor (when a buffer of a new filetype is opened).
2023-09-20 08:34:44 -03:00
Dionisio E Alonso 1e1c1840fd feat(Neovim): Add Haskell to TreeSitter settings 2023-09-19 20:44:42 -03:00
Dionisio E Alonso 6c7e264aca feat(TilingAssistant): Add coding-layout for 1920×1080 screens 2023-09-19 10:16:14 -03:00
Dionisio E Alonso 38e2906961 feat(TilingAssistant): Add coding-layout for 1366×768 screens 2023-08-27 19:00:31 -03:00
Dionisio E Alonso af1efd96ba feat(TilingAssistant): Save default layouts 2023-08-27 18:54:54 -03:00
Dionisio E Alonso 15422412ff Merge branch 'update-iosevka' 2023-08-17 10:58:27 -03:00
Dionisio E Alonso 509b0482ed feat: Update fish' settings and docs 2023-08-17 10:56:44 -03:00
Dionisio E Alonso 71f08ad558 feat(Iosevka): Bumped version to 26.1.0 2023-08-16 14:49:56 -03:00
Dionisio E Alonso 79ddb78e19 Merge branch 'update-iosevka' 2023-07-12 12:45:51 -03:00
Dionisio E Alonso c7923c3d0b feat(Iosevka): Bumped version to 25.0.1 2023-07-12 12:44:34 -03:00
Dionisio E Alonso 31c4ad38a5 feat(Iosevka): Bumped version to 24.1.4
Since 24.0.0 some breaking changes were introduced that forced to
upgrade some character variants.
2023-06-27 14:58:16 -03:00
Dionisio E Alonso cc4370e1f7 feat: Add font customisation information 2023-06-27 13:12:59 -03:00
Dionisio E Alonso dce8b3d44e Merge branch 'master' into refactor-lua-configs 2023-06-26 18:58:21 -03:00
Dionisio E Alonso b2746b3a8c fix(Neovim): Correct scope of Lua variable 2023-06-26 18:21:24 -03:00
Dionisio E Alonso b8249a662c feat: Stop reinventing the wheel. Use Neoim Lua's API
Stopped using our own implementation of a table deep copy for Lua.
Started using the one provided by Neovim.

Instead of directly using own implementations for functions not provided
in Lua's stdlib, look for an implementation within Neovim Lua's modules.
2023-06-26 18:03:12 -03:00
Dionisio E Alonso bbea6ddaf9 fix: Rename variable
The previous name was a little bit to repetitive.  It was confusing with
so many things called the same, in the same file.
2023-06-26 17:12:42 -03:00
Dionisio E Alonso b55005f289 feat: Change semantics of the per-server settings table
Changed the meaning the returned table, per LSP server configuration,
has.  That is, instead of returning the bare `settings` table, the
return value now is a table **containing** the `settings` keyword, with
the corresponding value table assigned to it.

This change is made to include in the table **other** possible keywords
that could accompany the `settings` keyword, such as `cmd`, for those
LSP servers that configure their state directly with command line flags;
or something of the sort.

The raise of “error” when copying the configuration table, is because
the keys “on_attach” and “capabilities” shouldn't be modified per LSP
server configuration, and be en common to all the LSP servers.
2023-06-26 09:43:20 -03:00
Dionisio E Alonso 528627d6ca feat: Reorder some arguments to LSP's setup function
Minor change reordering arguments to group common arguments for every
LSP server first and per-server arguments later on.
2023-06-26 00:12:31 -03:00
Dionisio E Alonso 98ce38c250 feat: Stop reinventing the wheel. Use Neoim Lua's API
Stopped using our own implementation of a table deep copy for Lua.
Started using the one provided by Neovim.

Instead of directly using own implementations for functions not provided
in Lua's stdlib, look for an implementation within Neovim Lua's modules.
2023-06-25 06:24:51 -03:00
Dionisio E Alonso 3bac3804fd feat(nvim-lsp): Show sources in diagnostics when there are many 2023-06-23 16:41:32 -03:00
Dionisio E Alonso d9f72e32ab Merge branch '0ad-configs' 2023-04-22 13:59:56 -03:00
Dionisio E Alonso 3a405e6919 feat(0 A.D.): Add more lobby buddies 2023-04-22 13:59:28 -03:00
Dionisio E Alonso ee563a8556 feat(Vim): Change diagnostics signs for CoC
In order to unify the experience between using Vim+CoC and Neovim with
it's native LSP support; use the very same unicode characters to
represent the level for the diagnostics.
2023-04-15 14:50:47 -03:00
Dionisio E Alonso 2a3fd1e8e0 feat(neovim-gtk): Disable GTK+ pop-up menu
Although the pop-up menu in GTK+ integrates better with GTK's app look,
this implementation has some issues cycling through all the items with
`Ctrl+n` when the list is a bit long.
2023-04-11 14:16:30 -03:00
Dionisio E Alonso 61bc132801 feat(neovim): Group all vim-airline settings together 2023-04-09 17:17:13 -03:00
Dionisio E Alonso 359600ba4d feat(neovim): Isolate TreeSitter related config to it's own module 2023-04-08 00:26:07 -03:00
Dionisio E Alonso e1ce8170e7 feat(submodules): Bump versions in (Neo)vim's plugins
Due to a new stable version of Neovim, bump all the plugins to properly
work with current release.
2023-04-07 19:47:33 -03:00
Dionisio E Alonso a6336f2342 Merge branch 'nvim-theme' 2023-04-07 18:35:02 -03:00
Dionisio E Alonso 6d89f99c14 feat(Neovim/vim): Set VSCode Dark+ as default colorscheme
Set in both editors the VSCode theme Dark+ variant.  Each editor uses a
plugin built specifically for it, because Neovim's is written in Lua and
Vim's doesn't provide TreeSitter support.
2023-04-07 18:30:27 -03:00
Dionisio E Alonso 720010881b feat(vim): Add VSCode Dark+ colorscheme for Vim
As the Neovim's version of this colorscheme is written in Lua and
doesn't work on Vim, this version of the theme is added to achieve
almost the same look/experience in both editors.

This colorscheme implements the vim-airline version of the theme, that
is also used in Neovim (the airline plugin) and needs of this to look
integrated.
2023-04-07 17:27:40 -03:00
Dionisio E Alonso 5f63f1d2eb fix(neovim): Relocate Neovim's colorscheme plugin 2023-04-07 17:11:50 -03:00
Dionisio E Alonso d66a36e04e feat(nvim-gtk): Update color reset steps for colorscheme onedark
In order to be able to re-load/reset default settings in colorscheme
onedark, there is no longer a function (`onedark#extend_highlight`) to
re-apply colors, but instead that can be achieved by re-loading the
highlighting with the `syntax reset` command.
2023-04-06 21:21:47 -03:00
Dionisio E Alonso e5c31fb0a9 feat(Kitty): Add default features for JetBrainsMono font 2023-04-02 21:24:29 -03:00
Dionisio E Alonso 0c760962da Merge branch 'upgrade-iosevka-font' 2023-04-02 21:21:00 -03:00
Dionisio E Alonso 6fe967c2b0 feat(Kitty): Update the default font used in Kitty to Iosevka 2023-04-02 21:05:12 -03:00