Commit graph

14 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
5a4b05f72c [vim] Two space indents for CSS files 2024-08-02 18:31:38 -07:00
49fe168cc9 [vim] Make sure the gutter is always visible after loading gitgutter 2024-08-02 18:31:20 -07:00
5e5c8f83c8 [vim] Customize gitgutter colors a little bit 2024-08-02 18:29:43 -07:00
929f56ef6f [vim] Use syntax fold method for rust code 2024-08-02 18:29:43 -07:00
74e66401f8 [neovim] Remove some stuff from Python config 2023-10-12 10:45:55 -07:00
d7e2a53b42 [neovim] Set sw and sts to 2 for Go templates 2023-09-10 15:39:42 -07:00
47a622250f [nvim,zsh] Set up pyright LSP for Python development 2023-09-06 10:19:21 -07:00
556d125741 [vim] Add treesitter plugin
Add after config script
2023-08-25 08:00:56 -07:00
d1e8f59c53 [zsh,nvim] Set up vim's &path based on zsh's FPATH 2023-03-29 12:53:13 -07:00
711dd78a2f [nvim] Bring over gitcommit.vim to the neovim location from vim/ 2023-03-29 12:53:13 -07:00
970ed67788 [nvim] Comment about why resolving symlinks is necessary in config/nvim/after/ftplugin/lua.lua 2023-03-25 08:09:09 -07:00
79757c36a2 [nvim] Move ftplugin/lua.lua to after/ 2023-03-24 21:28:04 -07:00
e797d0d213 [nvim] Add highlighting for block and inline padding and margin declarations in CSS 2023-03-20 10:11:48 -07:00