Commit graph

7 commits

Author SHA1 Message Date
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
acaf6425d5 [vim] Add the dracula colorscheme module
Modify the colors init script to handle it.
2024-08-02 18:31:38 -07:00
92418f9ec9 [nvim] Make colors a proper module and call .init() from init.lua 2024-06-25 10:09:26 -07:00
efeee59635 [neovim] Fix colors.lua 2023-07-11 16:09:21 -07:00
8f74f0ae50 [neovim] Set a different color scheme for Terminal.app than for other terminals 2023-06-20 11:13:09 -07:00
c7b10964a6 [neovim] Update colors 2023-06-20 11:11:02 -07:00
19cf305d2b [nvim] Add a new colors Lua module that deals with colors
it provides a single reloadColorscheme function that applies the colorscheme and
a few of my own customizations.
2023-03-20 13:49:32 -07:00