Commit graph

120 commits

Author SHA1 Message Date
Oliver Davies d16cfae1b1 Refactor LSP and Telescope configuration 2024-07-06 15:23:28 +01:00
Oliver Davies 63f90b87a8 Combine custom keymaps 2024-07-06 15:23:28 +01:00
Oliver Davies 6713a0d01f Re-enable global statusline with mini.statusline
From the README file:

```lua
-- Whether to set Vim's settings for statusline (make it always shown
-- with 'laststatus' set to 2).
-- To use global statusline, set this to `false` and 'laststatus' to 3.
set_vim_settings = true,
```
2024-06-29 15:14:02 +01:00
Oliver Davies 421edb67b2 Add keymaps for navigating between splits 2024-06-01 14:48:32 +01:00
Oliver Davies 6336b36659 Refactor LSP server configuration 2024-06-01 14:48:25 +01:00
Oliver Davies 50bac18457 Fix Tailwind CSS completions
Whether the file extension is `.twig` or `.html.twig`, the filetype in
Neovim is `twig`, so this commit simplifies and fixes the configuration
for Tailwind CSS so that it works in files it previously wasn't
completing in.
2024-05-20 18:04:11 +01:00
Oliver Davies 7b8ac2345e Update keymaps
Replace usages of custom keybinding functions with `vim.keymap.set()`.
2024-05-16 19:07:23 +01:00
Oliver Davies 80fc14d063 Configure spelling and a custom dictionary file 2024-05-14 13:00:32 +01:00
Oliver Davies 880ef033ca Add keymaps 2024-05-09 13:01:10 +01:00
Oliver Davies 8578117a2e Remove telescope-file-browser.nvim 2024-05-08 07:11:03 +01:00
Oliver Davies 1b3475bb12 Disable hlsearch
I'll re-add it if I miss it.
2024-05-08 00:08:34 +01:00
Oliver Davies fded826b0a Reapply "Add obsidian.nvim and marksman"
This reverts commit e82db1df25.
2024-04-22 20:30:48 +01:00
Oliver Davies ef439aefd1 Search for TODO comments with Telescope 2024-04-07 00:04:21 +01:00
Oliver Davies e82db1df25 Revert "Add obsidian.nvim and marksman"
This reverts commit da206ae6ff.
2024-03-31 10:12:31 +01:00
Oliver Davies da206ae6ff Add obsidian.nvim and marksman 2024-03-29 01:26:56 +00:00
Oliver Davies 298601c4e0 Replace nixd with nil_ls 2024-03-19 14:19:20 +00:00
Oliver Davies 69b2d3b710 Re-add nixd
Using the latest nightly version of `nixd` due to a dependency on nix
2.16.2 which is now unsecure.
2024-03-17 20:16:19 +00:00
Oliver Davies 975c7d8c70 Remove Ansible language server 2024-03-17 19:17:11 +00:00
Oliver Davies 021093bd3d Foramt files with stylua 2024-03-14 07:42:24 +00:00
Oliver Davies 4b26e20375 Configure lua_ls workspace settings 2024-03-12 19:56:26 +00:00
Oliver Davies b98191f6a9 Remove grammarly 2024-03-09 20:19:32 +00:00
Oliver Davies 7912f00231 Simplify LSP configuration 2024-03-05 23:12:51 +00:00
Oliver Davies f04a4d385c Simplify LSP server configuration 2024-03-04 09:31:04 +00:00
Oliver Davies 579b90e6a8 lsp: remove definitions from vendor-bin 2024-02-29 19:50:10 +00:00
Oliver Davies ba2c700af6 Add TODO 2024-02-29 16:29:04 +00:00
Oliver Davies fa5e61d666 lsp: remove definitions from the nix store 2024-02-29 14:00:12 +00:00
Oliver Davies 2616310129 Diable telementry for lua_ls 2024-02-27 23:25:19 +00:00
Oliver Davies 6b0773eb77 Update Telescope mappings 2024-02-27 23:24:02 +00:00
Oliver Davies db13d667e9 Ignore result 2024-02-27 20:41:10 +00:00
Oliver Davies 6dd83e51eb Update telescope_ignore_patterns 2024-02-27 18:12:55 +00:00
Oliver Davies 662ff52b9a Update options and keymaps 2024-02-27 00:02:33 +00:00
Oliver Davies 129a2dc990 Move conform and nvim-lint configuration 2024-02-26 19:42:28 +00:00
Oliver Davies 112433a8bd Remove cursorline 2024-02-26 11:22:16 +00:00
Oliver Davies 2278577dc3 Remove colorcolumn and cursorline 2024-02-26 00:39:27 +00:00
Oliver Davies 3afe1bd12b Tidy neovim configuration
* Remove some unused plugins and packages.
  * e.g. floaterm, projectionist, vim-wiki, vim-easy-align,
    vim-surround, visual-star-search, vim-rhubarb
* Replace none-ls with conform.nvim and nvim-lint.
* Replace lualine.nvim with mini-statusline.
* Add neodev.
* Simplify cmp completion sources.
2024-02-24 22:26:31 +00:00
Oliver Davies 98737c69e9 Add and use alejandra to format Nix files 2024-02-13 21:47:56 +00:00
Oliver Davies 2e0eb1146c More keybindings to keep buffers centred 2024-01-31 18:03:40 +00:00
Oliver Davies f312e4d560 Remove Astro plugin and language server 2024-01-27 21:31:38 +00:00
Oliver Davies 2a72ffab2e Add grammarly-languageserver as an LSP 2024-01-25 23:35:57 +00:00
Oliver Davies fe9435df8a Set colorcolumn 2024-01-24 23:57:00 +00:00
Oliver Davies 839dff942e Add snippets for __invoke() and __construct() 2024-01-17 22:05:41 +00:00
Oliver Davies 940d23cc76 Show trailing spaces 2024-01-14 17:15:41 +00:00
Oliver Davies 47bb1d55db Add Telescope mappings to find the current word 2024-01-08 17:50:15 +00:00
Oliver Davies 2e6df3a8bd Revert "Move key mappings"
This reverts commit b7f26524b0ddcd5db1b2783c20bdb423d4cb1bfb.
2024-01-08 17:50:15 +00:00
Oliver Davies 157789d0f1 Revert "Automatically close brackets, parentheses and"
This reverts commit 799ca92f401b6b11bebbb7bd514214b9156e2504.
2024-01-07 22:01:51 +00:00
Oliver Davies 5458c48cc3 Tailwind CSS autocomplete not working in Twig files 2023-12-21 11:05:33 +00:00
Oliver Davies 8a9d6d9141 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 e63c7c48b7 Move key mappings 2023-12-19 08:10:22 +00:00
Oliver Davies 0c863347f1 Automatically close brackets, parentheses and
...quotes whilst in insert mode in Neovim
2023-12-19 00:34:30 +00:00
Oliver Davies 288870b93d Add keymaps to easily run macros 2023-12-12 20:22:06 +00:00