Commit graph

129 commits

Author SHA1 Message Date
Oliver Davies b66a8bb3d2 chore(nvim): remove lsp-zero 2023-09-04 08:11:43 +01:00
Oliver Davies 4bea747ffa revert(nvim): re-add lualine and noice
This reverts commit db7d2b442f.
2023-09-01 12:11:15 +01:00
Oliver Davies adcbc6b3de fix(nvim): ignore .direnv from Telescope and Git 2023-08-30 10:34:01 +01:00
Oliver Davies db7d2b442f feat(nvim): re-add lualine and noice 2023-08-29 21:46:02 +01:00
Oliver Davies 90fa8596cb feat(nvim): re-add todo-comments.nvim 2023-08-27 17:34:58 +01:00
Oliver Davies 9e4e746052 fix(nvim): remove git-worktree configuration 2023-08-14 19:31:30 +01:00
Oliver Davies 9bf205edd8 feat(nvim): add more Harpoon keymaps 2023-08-14 00:50:49 +01:00
Oliver Davies b63b84e2f1 feat(nvim): add undotree 2023-08-14 00:23:46 +01:00
Oliver Davies ae4c829b4e chore(nvim): update gitsigns keymaps 2023-08-11 00:29:01 +01:00
Oliver Davies ce6193bb7b feat(nvim): add fugitive keymaps
Add keymaps to open `git status` within Fugitive as well as push and
pull changes within a fugitive buffer.
2023-08-11 00:29:01 +01:00
Oliver Davies 0c4b2d691d feat(nvim): telescope mapping to delete buffers 2023-08-08 23:59:42 +01:00
Oliver Davies af70a9b56f fix(nvim): remove phpactor as an LSP server 2023-08-07 22:13:45 +01:00
Oliver Davies 202dceada3 chore(nvim): remove lualine packages 2023-08-07 22:03:45 +01:00
Oliver Davies aeb921e7e8 fix(nvim): re-add intelephense for completion 2023-08-07 21:51:38 +01:00
Oliver Davies b18152cb4a chore(nvim): change vim-test strategy 2023-08-07 21:51:20 +01:00
Oliver Davies 894de5d3e6 fix(flake): not loading nvim configuration 2023-08-07 19:37:25 +01:00
Oliver Davies 624faf959c refactor: restructure my Code directory
I recently restructed the contents of my `~/Code` directory so that
repositories are grouped by their provider and organisation.

For example, my `dotfiles` are now located at
`~/Code/github.com/opdavies/dotfiles`.

Likewise, `build-configs` is now located at
`~/Code/github.com/OliverDaviesLtd/build-configs` as it's within the
`OliverDaviesLtd` organisation.

As well as `~/Code/github.com`, I also have `~/Code/bitbucket.org` for
Bitbucket repositories. These are also grouped within subdirectories for
each organisation.

This change means I need to update any reference to the old `dotfiles`
location to the new one and I can update the `t` function to adjust the
min and max depth it uses to find directories.
2023-08-07 09:53:33 +01:00
Oliver Davies 000bb2fd5e revert(nvim): add mappings for cnext and cprev
Removing these keymaps as they conflict with C-j and C-k which navigates
between horizontal splits in tmux.

I also already have `]q`, `[q`, `]l` and `[l` that do the same `cnext`
and `lnext` navigation.

This reverts commit a02e2765f4.
2023-07-28 09:02:15 +01:00
Oliver Davies a02e2765f4 feat(nvim): add mappings for cnext and cprev 2023-07-26 09:53:23 +01:00
Oliver Davies 6c5b015aee chore(nvim): remove intelephense 2023-07-22 09:35:20 +01:00
Oliver Davies 0580fd54dc feat(nvim): configure lualine 2023-07-22 09:35:20 +01:00
Oliver Davies 1b397749ca revert(nvim): invoke completion menu manually
This reverts commit 1366a9d472.
2023-07-19 21:41:19 +01:00
Oliver Davies 1366a9d472 feat(nvim): invoke completion menu manually
Don't open the completion menu automatically but invoke it when needed
using <C-Space>.
2023-06-23 22:21:02 +01:00
Oliver Davies ed0e7cf0a8 refactor(nvim): update Telescope preview settings 2023-06-23 10:11:33 +01:00
Oliver Davies ee3054fe48 fix(nvim): re-add intelephense
Phpactor isn't providing LSP information or diagnostics within Drupal
tests whereas Intelephense does.

This means that I'm getting duplicate results in files where both
Intelephense and Phpactor are working, but I'll look into this again and
see if I can go back to using just Phpactor.
2023-06-22 07:56:36 +01:00
Oliver Davies 31602d9de6 chore(nvim): standardise Telescope themes 2023-06-21 10:13:19 +01:00
Oliver Davies 61ee8411e1 fix(nvim): code formatting and diagnostics 2023-06-21 09:01:21 +01:00
Oliver Davies a9c7ab3f67 feat(nvim): add keymap for formatting text 2023-06-21 09:01:21 +01:00
Oliver Davies 07b9d08a3e feat(nvim): add nixd 2023-06-20 01:39:23 +01:00
Oliver Davies ab36de47a7 feat: transparency in alacritty and nvim 2023-06-10 10:20:54 +01:00
Oliver Davies 1f4ba88a17 feat(nvim): show matches in a split window 2023-06-04 14:04:08 +01:00
Oliver Davies 03ff33fc6f feat: enable Phpactor
Refs: #41
2023-05-19 12:23:09 +01:00
Oliver Davies f468f8aa5f feat(nvim): only run PHPCS if there is a
...phpcs.xml.dist file.
2023-05-11 14:14:03 +01:00
Oliver Davies 9f065ea19d feat(nvim): add snippet to create a Pest test 2023-05-11 13:55:56 +01:00
Oliver Davies c5b2bafe34 chore(nvim): re-add cmdheight
Without this, I can't see when a macro is recording.
2023-05-10 20:33:02 +01:00
Oliver Davies 4814bbea3f chore(nvim): remove winbar 2023-05-10 20:32:54 +01:00
Oliver Davies bcbdcabd32 chore(nvim): stop automated resizing 2023-05-10 20:32:46 +01:00
Oliver Davies 8512b12430 chore(nvim): no longer using Packer 2023-05-10 20:32:24 +01:00
Oliver Davies c38b0732ad feat(nvim): add key bindings for Phpactor 2023-05-10 12:36:54 +01:00
Oliver Davies b975044a9e chore(nvim): remove old lir configuration 2023-05-10 12:33:23 +01:00
Oliver Davies 9ecc92f7d1 feat(nvim): evaluate replacing Intelephense with
...Phpactor

Refs: #41
2023-05-10 01:44:29 +01:00
Oliver Davies bc149e3deb feat(nvim): ignore key mapping error 2023-05-09 19:08:53 +01:00
Oliver Davies 1be69caabb fix(nvim): remove plugins.lua 2023-05-02 01:13:33 +01:00
Oliver Davies 491b6bcc3f fix(nvim): eslint errors on first lines of buffers
Only run eslint when an .eslintrc.js file is present in the project
root.
2023-04-30 23:12:20 +01:00
Oliver Davies 52e323be81 fix(nvim): set signcolumn
Stop the window moving when a new Gitsigns column is added.
2023-04-30 10:52:48 +01:00
Oliver Davies fe4833cdba chore(nvim): re-add virtual text 2023-04-30 10:52:24 +01:00
Oliver Davies 7c8dfc5ad4 chore(nvim): remove sign icons 2023-04-30 10:52:07 +01:00
Oliver Davies dbfcc97708 fix(nvim): additional LSP keybindings 2023-04-30 10:51:44 +01:00
Oliver Davies 35bef73170 feat(nvim): finish configuring lsp-zero.nvim
Fixes #49
2023-04-29 10:55:45 +01:00
Oliver Davies 9289ace4c3 chore(nvim): tweak indent line colours 2023-04-26 00:04:44 +01:00
Oliver Davies f58ef51f0f refactor(nvim): use lsp-zero.nvim 2023-04-18 11:43:50 +01:00
Oliver Davies 2a8f42c267 fix(nvim): install Treesitter grammars with Nix
Fixes #48
2023-04-17 17:58:31 +01:00
Oliver Davies 4add1d9f07 feat(nvim): replace sumneko_lua with lua_ls 2023-04-08 09:44:29 +01:00
Oliver Davies 6efab85b97 fix(nvim): remove unused user command 2023-04-06 00:26:26 +01:00
Oliver Davies 388b423114 fix(nvim): treesitter parser location issue 2023-04-06 00:25:49 +01:00
Oliver Davies 8b8a9f1ce5 feat(nvim): config updates 2023-03-22 22:24:53 +00:00
Oliver Davies d5fa2b558b feat: make working with Pulumi in Python nicer 2023-03-14 11:18:53 +00:00
Oliver Davies f603d40156 feat(nvim): automatically find files
Run "nvim +GoToFile" to open Neovim and automatically open Telescope to
find the file that I need.

The idea was taken from @joshmedeski when he mentioned it in a podcast
with @nicknisi.

https://youtu.be/17o9QrCcF_o
https://github.com/joshmedeski/dotfiles/search?q=GoToFile
2023-02-24 09:43:29 +00:00
Oliver Davies 223412970a feat(nvim): add gitsigns to null-ls code actions 2023-02-12 09:51:24 +00:00
Oliver Davies 555b954c9a nvim: treesitter: enable autotag 2023-01-30 22:08:14 +00:00
Oliver Davies 17b8a7c815 nvim: null-ls: set the temporary directory 2023-01-30 22:05:58 +00:00
Oliver Davies 40d3235275 nvim: hide numbers in terminals 2023-01-30 21:59:16 +00:00
Oliver Davies 4f097c55ce nvim: add phpdoc to treesitter 2023-01-27 10:00:53 +00:00
Oliver Davies 196f0969f2 nvim: update gitsigns configuration 2023-01-23 18:12:25 +00:00
Oliver Davies e4b8ea9e33 feat: add Astro language server 2023-01-13 01:39:19 +00:00
Oliver Davies 3a693e4ffd feat(nvim): add rst snippets for working with PDFs
Fixes #45
2023-01-13 01:37:46 +00:00
Oliver Davies 07e552df83 feat(nvim): add new plugins 2023-01-04 22:16:14 +00:00
Oliver Davies ce7872c100 feat(nvim): use --testdox when running PHPUnit 2022-12-28 17:56:34 +00:00
Oliver Davies 0371434311 feat(nvim): use floaterm for running tests 2022-12-28 17:55:49 +00:00
Oliver Davies bd5ec65f8b chore(nvim): configure backup settings 2022-12-27 16:36:56 +00:00
Oliver Davies e4a1c2fb37 feat(nvim): add nvim_lsp_signature_help 2022-12-26 21:06:11 +00:00
Oliver Davies d4a4f9233e chore(nvim): update vim-test key mappings 2022-12-19 09:44:24 +00:00
Oliver Davies b4eb83a558 feat: add Astro to Treesitter
Refs: #30
2022-12-10 10:56:33 +00:00
Oliver Davies 2a1927f073 feat: enable Tailwind CSS LSP for Astro files
Refs: #30
2022-12-10 10:05:45 +00:00
Oliver Davies 4404ae5bff fix(nvim): configure splitjoin with lua 2022-12-03 10:46:02 +00:00
Oliver Davies c3189ef0a2 feat(nvim): add splitjoin plugin
https://github.com/AndrewRadev/splitjoin.vim
2022-12-03 09:45:50 +00:00
Oliver Davies 933d2fcf62 fix(nvim): update dotfiles location 2022-11-08 10:44:56 +00:00
Oliver Davies 1b03084975 fix(nvim): error on startup 2022-11-08 10:40:03 +00:00
Oliver Davies 5630466780 refactor(nvim): manage Neovim with Home Manager 2022-10-04 09:38:42 +01:00