Commit graph

53 commits

Author SHA1 Message Date
a0baeac863 [vim] Update API call that toggles visibility of inlay hints
This API is preferred as of some recent version of neovim.
2024-08-03 09:12:48 -07:00
a4883068de [vim] Clean up the gitTopLevelDirectory() method
Mostly change double quotes to single quotes. Add a nil check.
2024-08-02 18:31:38 -07:00
5a4b05f72c [vim] Two space indents for CSS files 2024-08-02 18:31:38 -07:00
46249b979a [vim] Add some Clippy stuff to the checkOnSave block for rust-analyzer 2024-08-02 18:31:38 -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
9810fa799e [vim] Some super quick 'n dirty GUI config for neovim
Change some defaults to make neovide a little nicer.
2024-08-02 18:31:38 -07:00
3110e2ff76 [vim] Remove the autocmd group from the Zsh autocommands in its ftdetect script
Apparently autocmds in ftdetect scripts are automatically grouped, so they don't
need an explicit group.
2024-08-02 18:31:38 -07:00
30f5bb7d29 [vim] Clean up required scripts in neovim init.lua 2024-08-02 18:31:36 -07:00
5be59f3045 [vim] Make sure signcolumn=yes after attaching an LSP 2024-08-02 18:31:20 -07:00
49fe168cc9 [vim] Make sure the gutter is always visible after loading gitgutter 2024-08-02 18:31:20 -07:00
8ab6b1ea99 [vim] Handle a nil result from io.popen when looking up a Git repo 2024-08-02 18:31:20 -07:00
0accf738ed [vim] Add a DiagnosticFloat autocommand that shows the diagnostic window on CursorHold
Set the hold time to 300 ms.
2024-08-02 18:31:20 -07:00
4a35b3a79d [vim] Add a diagnostics init module to customize diagnostic message floats 2024-08-02 18:31:19 -07:00
95081a31a3 [vim] Redo the keys lua module
Return a table from the module so that other modules that require it can access its functions in a namespaced way.
2024-08-02 18:30:52 -07:00
5e5c8f83c8 [vim] Customize gitgutter colors a little bit 2024-08-02 18:29:43 -07:00
5631eb2c88 [vim] Add rust-analyzer LSP 2024-08-02 18:29:43 -07:00
a6a4aa0d90 [vim] Disable lowercase-global warning for Lua LSP 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
e17117bef4 [vim] Start with all folds open (foldlevel=99) 2024-08-02 18:29:43 -07:00
92418f9ec9 [nvim] Make colors a proper module and call .init() from init.lua 2024-06-25 10:09:26 -07:00
74e66401f8 [neovim] Remove some stuff from Python config 2023-10-12 10:45:55 -07:00
a4e272bd6b [neovim] Port snipmate snippets for Python over to Ultisnips 2023-09-10 15:47:32 -07:00
e779607c5f [neovim] Add .vim in a top level of a git repo to runtimepath if it exists 2023-09-10 15:40:52 -07:00
d7e2a53b42 [neovim] Set sw and sts to 2 for Go templates 2023-09-10 15:39:42 -07:00
b381ff362d [neovim] Set up all the LSP key bindings 2023-09-10 15:37:41 -07:00
47a622250f [nvim,zsh] Set up pyright LSP for Python development 2023-09-06 10:19:21 -07:00
64ae7ed11f [nvim] Set relativenumber 2023-09-06 10:19:21 -07:00
cd98e5d1d6 [vim] Add a group to the ZSH path auto commands 2023-08-26 07:59:43 -07:00
556d125741 [vim] Add treesitter plugin
Add after config script
2023-08-25 08:00:56 -07:00
eb270c30bf [vim] Add eslint and html LSP configs 2023-08-25 08:00:31 -07:00
00d69312b2 [vim] Add LSP support for Lua, JS, CSS, and HTML 2023-08-23 16:20:15 -07:00
e2e47d79fa [vim] Fix up ensureMetadataDirectories function 2023-08-23 16:19:44 -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
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
4a0fa054d8 [nvim] Iterate through the entries in each vim.opt table and create directories that should exist 2023-03-28 10:53:23 -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
0a35616613 [nvim] Add the nvim config paths to &path when opening nvim/init.lua 2023-03-22 14:36:46 -07:00
eeeb516897 [nvim] Fix the merge conflicts (again) in the nvim config files 2023-03-22 14:35:47 -07:00
24229b0711 [nvim] Fix the editor metadata settings, again, for hopefully the last time 2023-03-21 10:32:26 -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
e797d0d213 [nvim] Add highlighting for block and inline padding and margin declarations in CSS 2023-03-20 10:11:48 -07:00
3a3b73a915 [vim] Ensure backup, swap, and undo directories exist so those state files are placed correctly 2023-03-20 10:09:44 -07:00
6957a192af [vim] Fix the hlsearch toggle key binding 2023-03-20 08:42:43 -07:00
5ad761678a [vim] Move plugin management to vim-plug and .vim/plugins.vim 2023-03-20 08:42:39 -07:00
833c4c8a6f [vim] Add ensureMetadataDirectoriesExist() and call it
This function creates backup, undo, and swap directories if they do not already exist
2022-11-16 08:58:07 -08:00
e71f78feee [vim] Explicitly specify swap and undo directories 2022-11-16 08:57:38 -08:00