dotfiles/config/nvim/lua
Eryn Wells 383fd5ceb9 [vim] Fix broken color scheme
I learned once again that true color schemes don't work in macOS's Terminal.app.
I also learned that the default color scheme in neovim is very plain and doesn't
provide a lot of variation for treesitter syntax elements. So, choose a different
built-in color scheme as the default.

I also learned about the ColorScheme autocmd event, which is fired after a color
scheme is applied. Convert the (janky) reloadColorscheme function to a set of
autocommands that trigger based on the color scheme name.

Along the way, add some explicit configuration for treesitter: enable highlighting,
indentation, and make sure some of my common languages have plugins installed.
Also link the "objcpp" filetype to both "objc" and "cpp" treesitter plugins.

Lastly, make some updates to the git gutter color configuration. Create some
autocommands that are applied after the plugin is loaded. For the gutter, use
color 233 from the 256 color palette, which is a very dark gray.
2024-09-19 13:45:12 -07:00
..
autocommands.lua [vim] Add a DiagnosticFloat autocommand that shows the diagnostic window on CursorHold 2024-08-02 18:31:20 -07:00
colors.lua [vim] Fix broken color scheme 2024-09-19 13:45:12 -07:00
configuration.lua [vim] Start with all folds open (foldlevel=99) 2024-08-02 18:29:43 -07:00
diagnostics.lua [vim] Add a diagnostics init module to customize diagnostic message floats 2024-08-02 18:31:19 -07:00
gui.lua [vim] Some super quick 'n dirty GUI config for neovim 2024-08-02 18:31:38 -07:00
keys.lua [vim] Update API call that toggles visibility of inlay hints 2024-08-03 09:12:48 -07:00
lsp.lua [vim] Comment out the recently_used comparator 2024-08-03 09:17:03 -07:00
treesitter.lua [vim] Fix broken color scheme 2024-09-19 13:45:12 -07:00