Commit graph

102 commits

Author SHA1 Message Date
Oliver Davies 59e7868f52 revert(nvim): re-add lualine and noice
This reverts commit db7d2b442f03c9d02bd8471c71f3eb483a40ca2b.
2023-09-01 12:11:15 +01:00
Oliver Davies bab8f12799 fix(nvim): ignore .direnv from Telescope and Git 2023-08-30 10:34:01 +01:00
Oliver Davies 4974d2d2f2 feat(nvim): re-add lualine and noice 2023-08-29 21:46:02 +01:00
Oliver Davies cbf6e4a29f fix(nvim): remove git-worktree configuration 2023-08-14 19:31:30 +01:00
Oliver Davies 61e4faa944 feat(nvim): telescope mapping to delete buffers 2023-08-08 23:59:42 +01:00
Oliver Davies 8863b8765c fix(nvim): remove phpactor as an LSP server 2023-08-07 22:13:45 +01:00
Oliver Davies 938480604a fix(nvim): re-add intelephense for completion 2023-08-07 21:51:38 +01:00
Oliver Davies 8634516e68 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 873a556538 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 a02e2765f44c8de5c7743d64f892645e98e1c71a.
2023-07-28 09:02:15 +01:00
Oliver Davies d2135e8454 feat(nvim): add mappings for cnext and cprev 2023-07-26 09:53:23 +01:00
Oliver Davies aa3e22243c chore(nvim): remove intelephense 2023-07-22 09:35:20 +01:00
Oliver Davies 76c3503b34 revert(nvim): invoke completion menu manually
This reverts commit 1366a9d472b6d2352b0eef0c849d1be45194e1cf.
2023-07-19 21:41:19 +01:00
Oliver Davies bd94dba7ff 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 3416b68871 refactor(nvim): update Telescope preview settings 2023-06-23 10:11:33 +01:00
Oliver Davies 76d72543e5 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 06ef19823b chore(nvim): standardise Telescope themes 2023-06-21 10:13:19 +01:00
Oliver Davies 13a3c83138 fix(nvim): code formatting and diagnostics 2023-06-21 09:01:21 +01:00
Oliver Davies 3fa8821d96 feat(nvim): add keymap for formatting text 2023-06-21 09:01:21 +01:00
Oliver Davies d2cdc5f732 feat(nvim): add nixd 2023-06-20 01:39:23 +01:00
Oliver Davies 90fbd90a33 feat(nvim): show matches in a split window 2023-06-04 14:04:08 +01:00
Oliver Davies e285152992 feat: enable Phpactor
Refs: #41
2023-05-19 12:23:09 +01:00
Oliver Davies 025ec531ae feat(nvim): only run PHPCS if there is a
...phpcs.xml.dist file.
2023-05-11 14:14:03 +01:00
Oliver Davies d5428bbc0c feat(nvim): add snippet to create a Pest test 2023-05-11 13:55:56 +01:00
Oliver Davies f915867db1 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 5d60b15487 chore(nvim): remove winbar 2023-05-10 20:32:54 +01:00
Oliver Davies 88c7aa39da chore(nvim): stop automated resizing 2023-05-10 20:32:46 +01:00
Oliver Davies a779e665ae chore(nvim): no longer using Packer 2023-05-10 20:32:24 +01:00
Oliver Davies 0a59ec3664 feat(nvim): evaluate replacing Intelephense with
...Phpactor

Refs: #41
2023-05-10 01:44:29 +01:00
Oliver Davies 3f59c7f9d6 feat(nvim): ignore key mapping error 2023-05-09 19:08:53 +01:00
Oliver Davies 5f477e53e1 fix(nvim): remove plugins.lua 2023-05-02 01:13:33 +01:00
Oliver Davies d573f2d035 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 0352479474 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 e074282f00 chore(nvim): re-add virtual text 2023-04-30 10:52:24 +01:00
Oliver Davies abb73b37f5 chore(nvim): remove sign icons 2023-04-30 10:52:07 +01:00
Oliver Davies 68b814d3cd fix(nvim): additional LSP keybindings 2023-04-30 10:51:44 +01:00
Oliver Davies 151ce3da63 feat(nvim): finish configuring lsp-zero.nvim
Fixes #49
2023-04-29 10:55:45 +01:00
Oliver Davies 64a3a91bdc refactor(nvim): use lsp-zero.nvim 2023-04-18 11:43:50 +01:00
Oliver Davies 2a7721e2c9 feat(nvim): replace sumneko_lua with lua_ls 2023-04-08 09:44:29 +01:00
Oliver Davies ddb4e8809f fix(nvim): remove unused user command 2023-04-06 00:26:26 +01:00
Oliver Davies 2cf0eb8cfc feat(nvim): config updates 2023-03-22 22:24:53 +00:00
Oliver Davies 50c3a1df03 feat: make working with Pulumi in Python nicer 2023-03-14 11:18:53 +00:00
Oliver Davies b5e6ec57ec 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 570a9e39bf feat(nvim): add gitsigns to null-ls code actions 2023-02-12 09:51:24 +00:00
Oliver Davies 559617280d nvim: null-ls: set the temporary directory 2023-01-30 22:05:58 +00:00
Oliver Davies 26757b1bd4 nvim: hide numbers in terminals 2023-01-30 21:59:16 +00:00
Oliver Davies 01eebfbefe feat: add Astro language server 2023-01-13 01:39:19 +00:00
Oliver Davies 9c612e49fe feat(nvim): add rst snippets for working with PDFs
Fixes #45
2023-01-13 01:37:46 +00:00
Oliver Davies 716f35746a chore(nvim): configure backup settings 2022-12-27 16:36:56 +00:00
Oliver Davies b14a579578 feat: enable Tailwind CSS LSP for Astro files
Refs: #30
2022-12-10 10:05:45 +00:00
Oliver Davies edbd038cbe fix(nvim): update dotfiles location 2022-11-08 10:44:56 +00:00
Oliver Davies b32e7fb510 fix(nvim): error on startup 2022-11-08 10:40:03 +00:00
Oliver Davies a66d1c417d refactor(nvim): manage Neovim with Home Manager 2022-10-04 09:38:42 +01:00