Commit Graph

452 Commits

Author SHA1 Message Date
Dionisio E Alonso 4a6169c670 Merge branch 'diagnostics-config' 2022-08-07 23:48:08 -03:00
Dionisio E Alonso 82697ea146 feat: Migrate autocmd in on_attach to pure Lua call
Migrated, following TeeJ_Dv's advice, the auto-command creation to a Lua
function.  As this auto-command only cares for the on_attach Lua scope,
it seems correct to have this one defined as a Lua function instead of
the legacy Vimscript.
2022-08-07 23:46:46 -03:00
Dionisio E Alonso 099f247c2e fix: Add diagnostic open_float focus option
Made the floating window not focusable to avoid mistakes.
2022-08-07 23:33:16 -03:00
Dionisio E Alonso 314b10e343 fix: Migrate config to the new option definition 2022-08-07 23:24:17 -03:00
Dionisio E Alonso 91126c88fe Merge branch 'symbolic-fonts' 2022-08-07 18:47:14 -03:00
Dionisio E Alonso b9a34d6059 fix: Update keybinding to use new Lua's pretty_print 2022-08-07 18:42:43 -03:00
Dionisio E Alonso 9300e16d2e feat: Update diagnostics to use VSCode's codicons signs 2022-08-07 18:31:09 -03:00
Dionisio E Alonso 46daa3177e feat: Move Neovim/Vim specific docs to their own README
There is too many instructions specifically for the code editors
Neovim/Vim.  Having their instructions in the main project README file
can confuse and overwhelm.
2022-08-07 18:25:34 -03:00
Dionisio E Alonso 7d2b9de5b5 feat: Update README instructions for symbols
Updated the instructions for viewing symbols within Neovim/Vim in the
README file.
2022-08-07 18:09:40 -03:00
Dionisio E Alonso 20dee62b3b fix: Correct README syntax 2022-08-07 18:03:42 -03:00
Dionisio E Alonso 1c14760a4c Merge branch 'nvim-theme' 2022-08-05 12:43:02 -03:00
Dionisio E Alonso 53a663ec59 fix: Migrate transparent configuration to new version
According to the README of the project, the transparent configuration
(among other settings) got migrated and this syntax is the newly
adopted.
2022-08-05 12:40:14 -03:00
Dionisio E Alonso 9c0df409ba feat: Add transparent setting to onedark.nvim
This setting was on the previously used version of onedark, but with the
migration for the Neovim's specific version the setting got lost.
2022-08-05 12:32:37 -03:00
Dionisio E Alonso 9290c135bf fix: Minor upgrades in README file 2022-08-04 17:37:40 -03:00
Dionisio E Alonso a99ccde7a7 Merge branch '0ad-configs' 2022-07-21 18:16:48 -03:00
Dionisio E Alonso 124eb75776 Merge branch 'nvim-treesitter' 2022-07-20 13:01:47 -03:00
Dionisio E Alonso 6c7a5a2c37 fix: Change keyword class grouping in treesiter
Most colorchemes get the wrong color for the python class-keyword. This
fix overrides the default and groups “class” to be highlighted with the
same color than function declarations.

There is a comment in the file referring an where the tip came from.
2022-07-20 12:58:33 -03:00
Dionisio E Alonso 65486600bc feat: Add some defaults for nvim-treesitter
Add defaults of what treesitter modules to load by default and some
languages to build the rules for.
2022-07-20 12:56:31 -03:00
Dionisio E Alonso 8c934889c7 fix: Fog looks nice, but units may disappear underneath
Disabling this setting for now.  It sometimes hides important stuff from
player's view.
2022-06-07 15:03:08 -03:00
Dionisio E Alonso dd07afca1c feat: Set some nice defaults for camera and screen settings
The gui.scale is to achieve the same viewpoint as in a full-HD screen
(1080p) but on a smaller screen size of only 1366x768.  This value
should be different on other screen sizes, but for now is the one
available.
2022-06-07 14:57:26 -03:00
Dionisio E Alonso f360d5d469 feat: Add match time counter, useful to track evolution 2022-06-07 14:55:24 -03:00
Dionisio E Alonso 643d30808b feat: Add mode buddies gathered from local tournament 2022-06-07 14:53:52 -03:00
Dionisio E Alonso f46606f991 feat: Add more lobby buddies 2022-06-07 14:53:03 -03:00
Dionisio E Alonso 5fc924299a feat: Add some lobby buddies (players I usually match) 2022-06-07 14:50:11 -03:00
Dionisio E Alonso 0c17cf46e2 feat: Set some antialiasing and turn off help dialog 2022-06-07 14:47:45 -03:00
Dionisio E Alonso feaf315e2c feat: Add first 0 A.D. game settings 2022-06-07 14:44:45 -03:00
Dionisio E Alonso 37f1888785 feat: Add relative linenumber settings to VSCodium 2022-05-19 11:26:54 -03:00
Dionisio E Alonso 0a292c87f4 feat: Disable some redundant checks for LSP 2022-05-19 11:25:34 -03:00
Dionisio E Alonso b44db36d40 Merge branch 'nvim-cmp-settings-update' 2022-05-11 10:46:58 -03:00
Dionisio E Alonso 800653ff28 fix: Restore some keybindings to nvim-cmp
In recent versions, nvim-cmp plugin has dropped the default keybindings
that had to use the plugin, enforcing users to set their own.
2022-05-11 09:15:04 -03:00
Dionisio E Alonso 39bc82d399 fix: Upgrade cmp_format options from deprecated one
The "text" format option has been deprecated in favor of the "mode"
option which permits more values other than just `true` or `false`
2022-05-11 09:09:02 -03:00
Dionisio E Alonso 03e7a1dd34 fix: Neovim's argument passing, not in global scope anymore
An argument to a Neovim's Lua function that used to live in global
scope, now needs to be declared as part of the function definition, and
passed accordingly.
2022-05-11 08:58:15 -03:00
Dionisio E Alonso 48341a2d10 feat: Merge LSP workspace settings with default ones
Instead of just override the entire Neovim's LSP server settings with
new ones from the workspace, merge new settings with existing ones.
2022-05-10 22:49:16 -03:00
Dionisio E Alonso bfbf40be41 feat: Override LSP server settings with workspace settings 2022-05-10 22:44:03 -03:00
Dionisio E Alonso 18d4f87652 Merge branch 'lsp-settings' 2022-05-10 17:54:20 -03:00
Dionisio E Alonso 0c189664fb fix: Add missing rename in module call 2022-05-10 17:53:17 -03:00
Dionisio E Alonso b8448a5d98 fix: Rename modules for LSP for both Vim and Neovim
Renamed Vim-script and Lua modules to separate the functions from, which
settings correspond to the client part and which to the server part of
the LSP protocol for either editor.
2022-05-10 17:47:44 -03:00
Dionisio E Alonso 6e10c1baaa Merge branch 'lsp-settings' 2022-05-10 11:39:41 -03:00
Dionisio E Alonso 7de34f40dd fix: Restore general purpose LSP settings Lua module 2022-05-10 11:36:57 -03:00
Dionisio E Alonso c69be87d1c fix: Re-modularize all Neovim-lsp plugin specific settings
For Neovim's LSP, move all the python-lsp-server plugins' settings to
its own separate Lua module.
2022-05-10 11:33:15 -03:00
Dionisio E Alonso 74deba1cc2 feat: Add venv detection to adjust PyLSP plugins' paths
In order to be able to complete, navigate and lint code according to the
project's modules and dependencies, there is the need to use
python-lsp-server plugins installed in the same virtualenv the project
uses. Although the LSP plugin manager (python-lsp-server) is not
installed inside the project itself.

This settings detect the presence of those executables and adjusts their
paths to use the ones inside the virtualenv.
2022-05-10 10:50:39 -03:00
Dionisio E Alonso 213680cc98 Update settings for background opacity in Alacritty 2022-01-07 22:57:48 -03:00
Dionisio E Alonso d2cd5dc014 Change font size for alacritty 2022-01-07 22:57:21 -03:00
Dionisio E Alonso d4b2afb8da Update commands according to changes in Neovim's Lua API
From version 0.5 to 0.6 some changes in Neovim's Lua API occurred, and
some settings had stopped working.  These changes are made to ensure
shortcuts and some stuff continues working on newer versions of Neovim.
Legacy behaviour was not considered and hence this configs may no longer
work on older stable versions of Neovim.
2022-01-07 17:37:19 -03:00
Dionisio E Alonso 3d3756176a Add Treesitter to Neovim packages
From version 0.6, Neovim comes with support to Treesitter, which helps
on navigating code's AST and adds the ability to make language specific
decisions with plugins.
2022-01-07 16:07:53 -03:00
Dionisio E Alonso ecfb1b20d7 Add new VSCode-like theme to Neovim packages 2022-01-07 16:01:21 -03:00
Dionisio E Alonso ecac3157e4 Add undercurl support to Tmux
This config fixes spelling and diagnostics on Vim/Neovim (with the
appropriate colorscheme to implement it).
2021-11-19 09:40:25 -03:00
Dionisio E Alonso 0b01d5084e Convert Lua block to vim Lua oneline command 2021-11-03 11:40:25 -03:00
Dionisio E Alonso 56252e1bc7 Normalize Lua codding style 2021-11-03 11:13:33 -03:00
Dionisio E Alonso c9c601edea Enable experimental ghost_text feature for nvim-cmp 2021-11-03 10:46:11 -03:00