Commit graph

119 commits

Author SHA1 Message Date
Daniel Siepmann b00352d4db
Update neovim rg plugin to latest state 2024-04-04 08:42:53 +02:00
Daniel Siepmann ce32aaa6d8
Make :Rg within neovim smart by default
Enable --smart-case of rg by default.
That allows me to search for email finding Email and email.
While searching for Email only will find Email.
2024-04-04 08:39:37 +02:00
Daniel Siepmann 6560232167
Add GDscript support to neovim, for Godot game engine 2024-03-28 17:11:00 +01:00
Daniel Siepmann efb84158f3
Fix broken treesitter integration for c files
See 9dc4230 commit, but now also for c files as I play around with c
again.
2024-03-26 09:59:07 +01:00
Daniel Siepmann 83a2b5aeeb
Fix wrong configuration of shellcheck executable 2024-02-28 12:18:47 +01:00
Daniel Siepmann 9dc4230d85
Fix broken treesitter integration for vim help files
See: https://github.com/NixOS/nixpkgs/issues/282927
2024-02-28 12:17:56 +01:00
Daniel Siepmann 437f87ba7c
Update neovim colorscheme 2024-02-12 14:26:14 +01:00
Daniel Siepmann 262b218685
Fix css tag integration for neovim 2024-02-12 07:14:09 +01:00
Daniel Siepmann ca12b4a013
Remove undotree plugin from neovim
I didn't use it anyway.
And it did crash sometimes during git mergetool usages.
2024-01-11 10:38:57 +01:00
Daniel Siepmann 64fc2f27cd
Update Neovim plugin test to work with phpunit attributes 2023-10-31 11:26:45 +01:00
Daniel Siepmann 063fd1d98f
Further migrate Neovim to Treesitter
Update colorscheme with better support.
Move snippets to be used.

Also extend ignore for RG integration
2023-10-30 15:06:57 +01:00
Daniel Siepmann ecd64cd120
Update Neovim colorscheme HTML support for Treesitter 2023-10-23 10:02:59 +02:00
Daniel Siepmann fe632a3a0b
Use proper nix versions for Neovim plugins
I used the commit hash or tag as version.
But Nix needs a date or version number without v prefix.
I adjust the plugins, update them and also remove the sha prefix.
2023-10-19 19:49:15 +02:00
Daniel Siepmann d473d772b6
Add Treesitter to Neovim (again)
Let's give it another try.
2023-10-19 09:40:18 +02:00
Daniel Siepmann b3ad833ac1
Switch from ag(silver sarcher) to rg
It looks like the more up to date and established tool.
It looks like a faster tool.
It can be used by telescope neovim plugin to find files.
It supports an .ignore file in combination with .gitignore for more fine
grained setup.
2023-10-19 07:53:14 +02:00
Daniel Siepmann 47f1a2a9e8
Remove LSP for lua
As I don't write any lua
2023-10-18 15:15:28 +02:00
Daniel Siepmann 4ce11817ff
Switch back from fzf to telescope within neovim
As the fzf plugin was slow on large code bases.

This reverts commit cee10964f0.
2023-10-18 15:15:19 +02:00
Daniel Siepmann 9f63ab8ab9
Switch from buildVimPluginFrom2Nix to buildVimPlugin
As this got renamed and would break some day.
2023-10-02 09:56:37 +02:00
Daniel Siepmann 071cbc036a
Document how to manually change the last executed test for neovim plugin 2023-09-21 07:47:16 +02:00
Daniel Siepmann e584b454ef
Keep virtual text of lsp diagnostics 2023-07-11 09:02:20 +02:00
Daniel Siepmann 8abf04faa2
Migrate to upstream phpactor
This got merged upstream and I'll use the official version now.
2023-06-19 10:50:24 +02:00
Daniel Siepmann 362fde507d
Remove ultest neovim plugin
It was unused for a while, so no need to keep the plugin.
2023-04-26 09:21:49 +02:00
Daniel Siepmann fcfadd7e19
Update neovim plugin fzf-lua 2023-04-20 14:50:03 +02:00
Daniel Siepmann 71da7bc98f
Revert "Use upstream phpactor"
As the fetched version causes system crash and high cpu usage.

This reverts commit bd6c8adb7f.
2023-04-11 08:38:39 +02:00
Daniel Siepmann bd6c8adb7f
Use upstream phpactor
phpactor was added to upstream.
This only included the lsp usable package, not vim plugin.

I no longer need my own build script as I now use the upstream version.
That way I benefit from all the maintenance and updates.

I use the package source to build the neovim plugin.
2023-04-11 07:43:26 +02:00
Daniel Siepmann b8d646409f
Improve neovim diagnostics
Do not use phpstan via language server, I use Ale for that.
Do not underline diagnostic issues, use same as ALE.
2023-03-15 08:31:28 +01:00
Daniel Siepmann 4761283ff7
Fix broken neovim file paths when using fzf-lua
The issue was fixed by maintainer upstream and I update to latest commit
of the plugin.
2023-03-08 15:58:46 +01:00
Daniel Siepmann 2180d98970
Ensure fzf-lua opens files relative in neovim 2023-03-08 14:30:02 +01:00
Daniel Siepmann bc2264a03e
Remove ugly colors from neovim fzf-lua tags 2023-03-02 14:28:34 +01:00
Daniel Siepmann cee10964f0
Replace neovim telescope with fzf
I've added fzf to zsh and don't want to have multiple different
solutions for same problem.
I therefore use fzf-lua within neovim which replaces telescope.
2023-03-02 13:25:23 +01:00
Daniel Siepmann 22f52b9188
Update vim-test plugin
And remove no longer necessary patch as it merged upstream.
Add new patch.
2023-02-20 14:36:45 +01:00
Daniel Siepmann fc61fe3640
Adjust name of sumneko_lua as this got renamed
The upstream got renamed.
lsp_config followed the renaming.

I now rename in order to prevent issues in future, and in order to get
rid of lsp_config warning during neovim start up.
2023-02-20 07:51:22 +01:00
Daniel Siepmann 813cba39bb
Improve neovim error reporting
Do not add diagnostics from lsp in addition to ale.
2023-02-07 11:46:36 +01:00
Daniel Siepmann 3afb0b7b93
Improve rst workflow
Add existing languagetool for rst files.
Add new rstcheck.
2023-02-05 16:43:48 +01:00
Daniel Siepmann abe5697fd0
Replace gitea sub domain with git subdomain
As I've renamed the domain. It no longer uses gitea but a soft fork.
2023-01-03 07:59:52 +01:00
Daniel Siepmann 20f25e1a1e
Update vdebug neovim plugin to current master
As there seem to be some incompatibilities with newer xdebug versions.
The current master seems to work fine.
2022-12-01 09:16:05 +01:00
Daniel Siepmann 359ee0f74d
Revert "Replace vim NERDtree with nvim-tree-lua"
This reverts commit 7e844adde2.

Keep NERDTree instead of nvim tree lua.
Mostly because it uses very small inputs for file paths.
I couldn't find an easy way to move files.
It opens files with absolute path instead of relative to cwd which will
also influence my snippets.
2022-10-31 09:21:17 +01:00
Daniel Siepmann 7e844adde2
Replace vim NERDtree with nvim-tree-lua
As neovim 0.8.0 doesn't properly refresh after NERDtree actions like
moving files finishes.
2022-10-12 09:46:14 +02:00
Daniel Siepmann 1ea75ea1e4
Migrate neovim plugin derivations to be compatible
Use always pname and version, see: https://github.com/NixOS/nixpkgs/issues/193903
2022-10-04 07:59:26 +02:00
Daniel Siepmann 17068755af
Add neovim plugin ultest to show test summary and status
I use this to show icons beside methods to see which tests are fine and
which are broken. Same for summary.

I also update my colorscheme to support this plugin.
2022-08-22 11:45:48 +02:00
Daniel Siepmann 2795cb79c3
Fix broken vim php syntax
The loading order (runtimepath) was changed with
cda1f8ae46.
The php syntax loaded as package is now loaded after the neovim native
php syntax file and does not have any effect.

I now remove the package and add the file as XDG config so it is always
loaded first.
This file is not maintained anymore since some years and I still prefer
it over the maintained versions.
2022-08-16 08:05:13 +02:00
Daniel Siepmann eb6c58f076
Add missing linebreak in generated neovim configuration
Use builtin function instead. This will keep the trailing line break.
Also always use the braces to make it obvious we are using a function.
2022-08-15 08:26:12 +02:00
Daniel Siepmann 3707831a56
Refactor phpactor neovim plugin into own nix file
This makes it easier to open the file via fuzzy finder.
Everything is located within the file and callPackage will pass the
necessary dependencies.
2022-08-02 13:20:08 +02:00
Daniel Siepmann 6bf26938d9
Update phpactor 2022-07-12 10:21:42 +02:00
Daniel Siepmann d5e8cffec1
Add presentation stuff to neovim
Add plugins and a small function that will trigger all the plugins +
settings.
2022-07-04 07:36:52 +02:00
Daniel Siepmann b6db7ff6b8
Update typoscript syntax for neovim 2022-06-15 15:10:32 +02:00
Daniel Siepmann 03da79bc41
Update phpactor to stay compatible
Mainly switch to php8.0 as this is still supported by nix.
Also add git to path (just to be sure it is there)
And update phpactor itself.
2022-06-13 08:15:32 +02:00
Daniel Siepmann 68e2e85d49
Replace telescope-ui-select-nvim with dressing-nvim
Configures the hole UI stuff, no need for different plugins.
2022-06-08 08:51:31 +02:00
Daniel Siepmann 126ec8481e
Use telescope as select ui in neovim 2022-06-08 08:47:55 +02:00
Daniel Siepmann 56f0e7ce8d
Remove treesitter from neovim
Not an in line replacement yet.
Stuff like auto indent in php doesn't work yet.
No benefit for me for now.
2022-05-30 17:14:17 +02:00