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
Daniel Siepmann
899ae7baba
Update todos for phpactor
2022-05-17 19:29:18 +02:00
Daniel Siepmann
a00fa83f55
Do not clean files in phpactor
...
It didn't work for some reason and shouldn't be to important
2022-05-17 09:31:17 +02:00
Daniel Siepmann
7ffc0d5d5e
Update phpactor
...
Phpactor removed assertions. I no longer need to build a custom php
environment disabling assertions.
2022-05-17 09:23:00 +02:00
Daniel Siepmann
0bf5b771de
Disable assertions in phpactor
...
phpactor uses assertions. Those break on my system.
I disable the assertions for phpactor by altering the configuration of
the php to use.
2022-05-17 08:52:39 +02:00
Daniel Siepmann
f44ecfa7e8
Add composer to phpactor
...
This allows to use full potential of phpactor.
We wrap the binary to promote PHP and Composer.
We ensure that the neovim plugin is not calling PHP, but only the
wrapper, which ensures that proper PHP version will be used.
2022-05-17 08:34:40 +02:00
Daniel Siepmann
13b5bf6e73
Update phpactor
...
To also include https://github.com/phpactor/phpactor/pull/1604 which
should fix the stale processes after exiting neovim.
2022-05-17 07:42:19 +02:00
Daniel Siepmann
a2be50bac9
Update phpactor
...
This should contain an issue not closing process on neovim exit, see:
https://github.com/phpactor/phpactor/issues/1599 and
ad43a19480
2022-05-16 12:50:29 +02:00
Daniel Siepmann
9a48a4fdac
Improve neotags installation
...
Remove unnecessary files.
Compile python. Cache files end up later by root for some reason. We
compile upfront.
2022-05-16 12:03:05 +02:00
Daniel Siepmann
cfd91f23b7
Update phpactor to not break when used as LSP
...
Update to commit
dc54d380d5
which should fix the exit code
2022-04-21 07:37:37 +02:00
Daniel Siepmann
9cba42ddfa
Revert "Remove LSP from Neovim"
...
This reverts commit 49ff32a4e6
.
2022-04-21 07:36:01 +02:00
Daniel Siepmann
40de1d353f
Keep old git merge behaviour
...
I find it way to much / complicated and am used to my old way to merge
things which I keep for now.
2022-04-19 13:33:45 +02:00
Daniel Siepmann
49ff32a4e6
Remove LSP from Neovim
...
It results in 137 exit codes way to often at the moment.
Issue is not LSP (=Language Server Protocol) itself but phpactor
implementations.
Still I only use phpactor with LSP, so remove for now.
2022-04-19 13:32:54 +02:00
Daniel Siepmann
cbad0f5a83
Update phpactor
2022-04-19 13:32:27 +02:00
Daniel Siepmann
048c0df915
Setup Neovim yamllint the same way as xmllint
...
Do not install globally.
Provide configuration at expected location as default / fallback.
2022-04-14 14:31:19 +02:00
Daniel Siepmann
bdbaaba2fd
Remove Neovim cmp autocomplete
...
I found it to disturbing and prefer the native behaviour I am used to.
2022-04-12 16:44:03 +02:00
Daniel Siepmann
f4cdf96abe
Added typescript syntax for Neovim
2022-03-31 15:15:52 +02:00
Daniel Siepmann
32df656e75
Add statix for nix checking into Neovim
2022-03-30 15:49:54 +02:00
Daniel Siepmann
2cd771c838
Use less as general pager
...
I tried nvimpager but it was a bit complex for me to re use existing
Neovim settings tweak for specific usage as pager.
I decided to stick with less for everything.
2022-03-29 15:29:10 +02:00
Daniel Siepmann
3b3f2d0588
Integrate gitlint via ale into Neovim for writing commit message
...
This is only done for one customer yet, as this customer has clean rules
which are already provided as community rules via gitlint.
2022-03-29 11:52:32 +02:00