Commit graph

152 commits

Author SHA1 Message Date
Oliver Davies cb402c2abd Replace tsserver with ts_ls 2024-11-20 10:48:00 +00:00
Oliver Davies 71d680c695 Update spellfile 2024-11-20 09:18:21 +00:00
Oliver Davies 963f09c67f Refactor LSP configuration 2024-11-20 09:17:57 +00:00
Oliver Davies 7dec20cc37 Update spellfile 2024-11-19 21:30:04 +00:00
Oliver Davies 319102a2f8 Update spellfile 2024-11-18 18:10:19 +00:00
Oliver Davies fd961a57de Automatically enable spell checking for markdown
...files
2024-11-18 01:37:16 +00:00
Oliver Davies f1b811a384 Filter Tailwind v4 messages 2024-11-17 14:01:28 +00:00
Oliver Davies 31e4700c23 Open splits below and right 2024-11-17 12:08:04 +00:00
Oliver Davies 13fd9f53fb Replace tsserver with ts_ls 2024-11-17 12:03:45 +00:00
Oliver Davies 23bad15ab1 Add terminal settings 2024-11-16 20:37:27 +00:00
Oliver Davies c2f61f897b Update spellfile 2024-11-16 15:24:07 +00:00
Oliver Davies 7377019826 Update spellfile 2024-11-10 00:13:52 +00:00
Oliver Davies 38fb5ddb25 Use gofmt as a formatter for go files 2024-10-29 14:28:11 +00:00
Oliver Davies 576e8c37a2 Re-add nvim-tmux-navigation
Easier navigation between Neovim and tmux panes.
2024-10-26 16:09:10 +01:00
Oliver Davies cffba6b6b6 Re-add en.utf-8.add spellfile 2024-10-26 15:45:29 +01:00
Oliver Davies 5b1f41a2e1 nvim: add Twig snippets for Storybook 2024-10-24 14:39:00 +01:00
Oliver Davies 8d07d76e2b Replace nil_ls with nixd 2024-10-23 21:07:26 +01:00
Oliver Davies e332a9835e Remove the default colorcolumn 2024-10-09 19:05:22 +01:00
Oliver Davies 8244e157fd Re-add Neovim configuration files
Re-included from https://github.com/opdavies/opdavies.nvim.
2024-10-09 19:04:40 +01:00
Oliver Davies 6d27e72b02 Extract neovim configuration to a separate
...repository

https://github.com/opdavies/opdavies.nvim
2024-01-24 12:10:46 +00:00
Oliver Davies d999e21d45 Add a keymap to run :Git commit 2024-01-17 22:11:59 +00:00
Oliver Davies 06ea9a5ff9 Add snippets for __invoke() and __construct() 2024-01-17 22:05:41 +00:00
Oliver Davies d706e0cdf1 Show trailing spaces 2024-01-14 17:15:41 +00:00
Oliver Davies 0b3301c53f Don't do completion in command mode
This is stopping normal expansion of things like `%:h` for the directory
of the current buffer.
2024-01-10 00:50:45 +00:00
Oliver Davies c700329642 Add Telescope mappings to find the current word 2024-01-08 17:50:15 +00:00
Oliver Davies f465870c82 Revert "Move key mappings"
This reverts commit b7f26524b0.
2024-01-08 17:50:15 +00:00
Oliver Davies d5b2d76dfb Revert "Automatically close brackets, parentheses and"
This reverts commit 799ca92f40.
2024-01-07 22:01:51 +00:00
Oliver Davies 4e1c3123a0 Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
2023-12-24 16:59:08 +00:00
Oliver Davies 4dd08d65bc Tailwind CSS autocomplete not working in Twig files 2023-12-21 11:05:33 +00:00
Oliver Davies e45c88490e Change splitbelow to false
This means that new splits, such as Fugitive, will open above the
current pane rather than below it.

If I don't like it, I'll revert it.
2023-12-21 08:28:17 +00:00
Oliver Davies b7f26524b0 Move key mappings 2023-12-19 08:10:22 +00:00
Oliver Davies 799ca92f40 Automatically close brackets, parentheses and
...quotes whilst in insert mode in Neovim
2023-12-19 00:34:30 +00:00
Oliver Davies a4fb59d193 Display Harpoon window at the top of the screen 2023-12-17 20:29:06 +00:00
Oliver Davies 4259ab0985 Add keymaps to easily run macros 2023-12-12 20:22:06 +00:00
Oliver Davies bad8b22a3b Upgrade to Harpoon 2 2023-12-11 17:45:36 +00:00
Oliver Davies 39458cce04 Re-add GoToFile command to Neovim
Allow for starting Vim and automatically opening Telescope to select a
file using `nvim +GoToFile`.
2023-12-06 22:49:43 +00:00
Oliver Davies 06f660dcd6 Configure netrw in Neovim 2023-11-29 09:57:49 +00:00
Oliver Davies 02d7654c03 Remove autocmd for plugins.lua
This is no longer needed as plugins are now managed with Nix.
2023-11-29 09:45:51 +00:00
Oliver Davies 55dbee27d9 Update PHP test method snippets 2023-11-29 09:42:19 +00:00
Oliver Davies ad4b86b8a3 revert(nvim): update Harpoon mappings
This reverts commit e05aadef34.
2023-11-23 11:54:55 +00:00
Oliver Davies 249f05860f feat(neovim): configure markdownlint
Prevent diagnostic messages for duplicate sibling headings and line
length.
2023-11-21 16:16:40 +00:00
Oliver Davies e05aadef34 chore(nvim): update Harpoon mappings 2023-11-21 08:01:37 +00:00
Oliver Davies 3af2f96b89 chore(nvim): update treesitter configuration 2023-11-14 20:15:12 +00:00
Oliver Davies 5449d8c021 chore(nvim): configure lualine 2023-11-07 07:53:58 +00:00
Oliver Davies 6c610fea29 feat(nvim): use rstfmt for rst file formatting
Add `vimPlugins.conform-nvim` to add formatting rst files with `rstfmt`.

This isn't supported as a formatter in `none-ls`, and I wanted to try
and potentially switch to `conform-nvim` and `nvim-lint` in the future,
so this is a potential first step towards that.

`rstfmt` itself is already installed and available within my additional
Vim packages.

This currently needs to be run manually, as I don't want to change my
default keybind for formatting until I've supported all the filetypes and formatters
I have in `none-ls`.

To run the foramt manually, run `:lua require"conform".format()`.

See:

- https://github.com/stevearc/conform.nvim
- https://github.com/mfussenegger/nvim-lint
- https://pypi.org/project/rstfmt
- https://www.youtube.com/watch?v=ybUE4D80XSk
2023-11-04 21:46:13 +00:00
Oliver Davies f97d7008e2 feat(nvim): configure lualine 2023-11-04 20:37:30 +00:00
Oliver Davies 5c31b63308 refactor(nvim): sort keymaps alphabetically 2023-11-04 10:19:20 +00:00
Oliver Davies 6d38e5e83e fix(nvim): configure undodir 2023-10-29 23:13:08 +00:00
Oliver Davies 941d9951bd feat(nvim): configure cmdline completion 2023-10-27 21:12:23 +01:00
Oliver Davies e6ab9a780b fix(nvim): add missing character 2023-10-20 07:56:38 +02:00