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
Daniel Siepmann
e80a1034a5
Migrate away from 3rd party vim plugin for sqlformat
...
It didn't work.
Instead I migrated to nix + python directly.
I keep the way to use autocommand to set the formatting.
But no expression but an external program.
This program is created via nix as shell application.
This one uses the sqlparse, just like the plugin.
This will use the std input as file for input.
That way I can re use this in other places.
Integration is way easier, no additional overhead to write python
embedded as vimscript.
Also full dependency control via nix.
2022-05-30 10:43:18 +02:00
Daniel Siepmann
003b6be119
Integrate languagetool into neovim
...
I already set it up as service for firefox extension.
This now also integrates into neovim.
2022-05-23 18:45:51 +02:00
Daniel Siepmann
93bd4a08d8
Do not execute PHPUnit tests via codeception
2022-05-23 16:22:27 +02:00
Daniel Siepmann
ec90898c38
Add tree sitter to neovim
...
This installs used languages.
Also update colorscheme to support new hi groups introduced by ts.
2022-05-20 11:05:26 +02:00
Daniel Siepmann
02e7f24b52
Add todo for rest neovim plugin
2022-05-18 19:54:03 +02:00
Daniel Siepmann
1500eb1871
Add BufOnly vim plugin
...
This allows me to easily close (and wipe) all buffers except the current
one.
I no longer need to close and re open vim to quickly have a clean state.
2022-05-18 19:47:03 +02:00
Daniel Siepmann
47eac8a8ad
Allow neovim test plugin to detect codeception test
...
It missed the dist file during detection.
I already opened an PR upstream: https://github.com/vim-test/vim-test/pull/654
2022-05-18 19:39:35 +02:00
Daniel Siepmann
2636cd4f80
Add twig syntax support to neovim
2022-05-17 21:40:52 +02:00
Daniel Siepmann
e960cc3c20
Add lua language server to neovim
...
As I write lua from time to time to extend Neovim.
This is picked from https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#sumneko_lua
Just cmd is changed to install the server via nix and call the
installed version.
2022-05-17 20:49:00 +02:00