Commit graph

399 commits

Author SHA1 Message Date
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 fda82deed5
Stay on older phpactor version which didn't end up in a huge CPU load 2023-02-16 15:40:56 +01:00
Daniel Siepmann b937e6aab2
Adjust xliff snippets to include approved
The space was not used anyway yet.
2023-02-16 15:39:46 +01:00
Daniel Siepmann 82ad33410b
Ignore php cs fixer cache within Git 2023-02-16 15:39:45 +01:00
Daniel Siepmann 937a6c333e
Remove no longer existing customer path 2023-02-14 08:30:52 +01:00
Daniel Siepmann a10f010a43
Update phpactor
Also improve performance by ignoring diagnostics.
Remove unused files.
Shorten PATH setting.
Switching to PHP 82 as most recent version.
2023-02-14 08:29:04 +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 e6511b6b90
Remove wrong default from firefox 2023-02-07 11:11:33 +01:00
Daniel Siepmann 9145644868
Ignore PHUnit 10 cache 2023-02-07 08:57:26 +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 32da525424
Add ssh match for raspberry pi 2023-02-01 19:22:55 +01:00
Daniel Siepmann 65a8f18664
Use nicer color for jq booleans 2023-01-26 15:02:36 +01:00
Daniel Siepmann fe31605b22
Remove nixos calendar 2023-01-25 10:06:39 +01:00
Daniel Siepmann 5f3fb564ef
Add services snippets for php 2023-01-10 08:30:11 +01:00
Daniel Siepmann 3aec964506
Adjust diff so fancy to my preferences 2023-01-03 15:23:43 +01:00
Daniel Siepmann 4ae85c6ef4
Properly handle zsh config
Move nix specifics to nix file.
Remove nix specific escaping from zshrc file.
Add some comments to zshrc file.
2023-01-03 08:06:26 +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 05e0d67e1a
Move zshrc extra to own file
This allows for proper syntax highlighting

This also prevents the need for escaping
2023-01-03 07:57:46 +01:00
Daniel Siepmann 6cf94d47ab
Enable diff so fancy for now
Give it a try and see how it works.
2023-01-02 16:54:16 +01:00
Daniel Siepmann 60d1aa5d83
Adapt fluid template file snippet
Follow my friends structure.
2022-12-14 11:47:50 +01:00
Daniel Siepmann 988cd294c4
Add packagist to firefox search engines 2022-12-14 08:27:48 +01:00
Daniel Siepmann 6927395384
Revert git noprefix
As some libraries expect the output. They will break.
2022-12-13 09:34:37 +01:00
Daniel Siepmann 9164b4002c
Optimise git
Do not show file prefix, this removes a/ and b/ prefix from file paths.
This eases copying file names from diff output.

Also adjust hot git handles whitespace to improve diffing, especially
for one customer where
`git diff -U0 --word-diff-regex='[^[:space:]]' HEAD~1` is possible now.
2022-12-13 08:43:21 +01:00
Daniel Siepmann c2efd0a5b1
Add holidays to khal 2022-12-08 09:17:58 +01:00
Daniel Siepmann 2fcabe6024
No longer clear typoscript cache 2022-12-08 09:11:00 +01:00
Daniel Siepmann db9101cdc1
Add holiday calendar
Also fix typo
2022-12-08 09:10:28 +01:00
Daniel Siepmann 53222c4552
Remove nixos calendar from khal 2022-12-01 14:04:54 +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 bc33856c74
Migrate setup to new ctags version
The new version already has support for xml and yaml.
2022-11-09 08:20:58 +01:00
Daniel Siepmann e45ea0c6d6
Remove askpass for ssh, use cli instead 2022-11-04 11:17:43 +01:00
Daniel Siepmann fc197aedea
Always sign git commits on both devices
As I've transferred my gpg key
2022-11-04 10:25:51 +01:00
Daniel Siepmann 87408de6b0 Temporarily disable keychain and pgp signing on hikari 2022-11-03 17:01:41 +01:00
Daniel Siepmann 8192152637
Hide none usefull info from toggl website 2022-11-03 08:59:02 +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 87f3310ae3
Keep netrw as it provides features like gx to open urls and files 2022-10-27 14:39:38 +02:00
Daniel Siepmann 572b8bca85
Hide unwanted HTML elements within toggl 2022-10-27 10:11:13 +02:00
Daniel Siepmann cb28fd3d4e
Add nixos org public calendar 2022-10-27 08:23:21 +02:00
Daniel Siepmann 56c4e30389
Remove new tabmanager from firefox
See: https://social.dev-wiki.de/@Lamdarer/109235020667649579
2022-10-27 07:46:40 +02:00
Daniel Siepmann b4d58399dc
Add SQL search to firefox 2022-10-26 11:45:43 +02:00
Daniel Siepmann 6ab89ae7a9
Configure search engines of firefox through new module options 2022-10-25 09:06:26 +02:00
Daniel Siepmann db9131aff6
Remove eBay search from firefox 2022-10-20 17:24:18 +02:00
Daniel Siepmann 7517103501
Enable reStructuredText ctags support 2022-10-20 10:31:26 +02:00
Daniel Siepmann 2e6520acf9
Downgrade phpactor
As newer versions seem to be to slow for me
2022-10-18 07:45:47 +02:00
Daniel Siepmann 0fb2dcf6cc
Hide dotfiles in neovim tree by default 2022-10-17 15:48:11 +02:00
Daniel Siepmann f1c34445d5
Add fes project specifics for vim 2022-10-17 09:51:16 +02:00
Daniel Siepmann 005fb3cb96
Remove commented out option
extended_properties are send by vdebug out of the box, no need to
explicitly set them.
2022-10-17 08:22:33 +02: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 0a5c2ca8ff
Move files out of home to xdg folders
Thanks to xdg-ninja for analysing my home folder.
2022-10-11 20:36:48 +02:00
Daniel Siepmann 24ba29e713
Update phpactor 2022-10-11 15:12:55 +02:00
Daniel Siepmann 47406c7e76
Add php snippet for codeception cest file 2022-10-11 10:07:44 +02:00
Daniel Siepmann cc911a0d91
Integrate neovim snippets into ctags
To easily find and navigate to snippets.
2022-10-11 08:27:56 +02:00
Daniel Siepmann c263cdc34a
Remove neovim as man pager
It was slow and always hang after closing.
Keep simple default.
2022-10-10 21:19:18 +02:00
Daniel Siepmann 2481212aba
Improve timing of event notifications
Remind one minute earlier so I always get info ahead of time.
2022-10-06 12:22:44 +02:00
Daniel Siepmann cc3fcb3d50
Add vdirsync and khal with small notification script
Very basic, but maybe better then all the shiny none working solutions.
Will sync all calendars to vdir.
khal is able to parse and show them. khal also offers an cli interface
to fetch events for a certain time.

Properly use keepass xc via secret tool as command line tool
Enable keepassxc usage as secret tool.
Remove crypted file as this no longer keeps passwords

Remove korganizer as it doesn't provide notifications, try khal
2022-10-06 09:27:38 +02:00
Daniel Siepmann 6d0cc6ad8d
Add customer specific gitignore entry 2022-10-05 16:53:54 +02:00
Daniel Siepmann 2997f79052
Fix wrong comment style in neovim config file 2022-10-04 15:10:51 +02:00
Daniel Siepmann 278b1e9c37
Disable mouse which got enabled by neovim 0.8.0 2022-10-04 12:34:36 +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 d6d7bb7565
Add neovim csv snippet 2022-09-28 09:59:52 +02:00
Daniel Siepmann 8b2dba9f70
Update phpactor, use fetchurl instead of fetchzip
Accordingly to help in https://discourse.nixos.org/t/fetchzip-results-in-do-not-know-how-to-unpack-source-archive-due-to-wrong-nix-store-path/22014
2022-09-26 15:26:10 +02:00
Daniel Siepmann 2c3d07650e
Add custom css for forge.typo3.org 2022-09-26 08:08:56 +02:00
Daniel Siepmann 4677538858
Update phpactor
Also provide a script to create new versions of phpactor.
2022-09-16 09:50:20 +02:00
Daniel Siepmann e16f332c39
Hide unnecessary Jira bloat from UI 2022-09-15 17:07:39 +02:00
Daniel Siepmann 42f16ece60
Fix juris website css 2022-09-08 12:12:55 +02:00
Daniel Siepmann aa5b59dfac
Keep Firefox privacy.resistFingerprinting on false
See: https://social.tchncs.de/@kuketzblog/108945047476520993
2022-09-05 12:13:16 +02:00
Daniel Siepmann 2cb9d53374
Streamline pidgin setup
Use a single file instead of distributed files to setup pidgin.
Add smileys based on:
* https://unicode.org/emoji/charts/full-emoji-list.html
* https://github.com/PowaBanga/pidgin-EAP
* https://developer.pidgin.im/wiki/SmileyThemes#Creating
2022-09-02 11:30:05 +02:00
Daniel Siepmann 046db61df0
Configure neovim to not expand tabs in c code
As my current existing open source code bases use tabs instead of
spaces.
2022-09-01 17:21:57 +02:00
Daniel Siepmann 83396d38cb
Prevent neovim from unexpected indenting -> within PHP
There should be no special handling in order to align them.
They should be indented four spaces like everything else.
2022-09-01 08:19:55 +02:00
Daniel Siepmann 0599e5dc24
Prevent neovim default custom autocomplete in SQL files
I hated it, it also stole `<C-C>` from my workflow to escape to normal
mode.

Thanks: https://www.reddit.com/r/neovim/comments/x2nc8o/cant_disable_sql_omni_complete_in_neovim_072/
2022-09-01 07:57:24 +02:00
Daniel Siepmann 3ff8e46f2b
Add custom css to highlight inline code on confluence 2022-08-31 12:46:30 +02:00
Daniel Siepmann 6719549999
Configure prefered commentstring for c programming 2022-08-30 17:31:21 +02:00
Daniel Siepmann a10b82b153
Revert "Add matrix to pidgin (not working right now)"
This reverts commit ddaf533f47.
2022-08-30 14:25:43 +02:00
Daniel Siepmann ddaf533f47
Add matrix to pidgin (not working right now)
Doesn't work yet for me due to:
https://github.com/matrix-org/purple-matrix/issues/28
2022-08-30 14:20:54 +02:00
Daniel Siepmann 61e5fb63fe
Add Microsoft Teams to pidgin (login doesn't work yet)
The login doesn't work, but that seems to be an issue of my Microsoft
knowledge instead of the plugin, see: https://github.com/EionRobb/purple-teams/issues/1
2022-08-26 13:51:44 +02:00
Daniel Siepmann 6d5f3cc626
Initial add Pidgin for IM
I've added the following myself:

* mattermost
* purple-signald (waiting for https://github.com/NixOS/nixpkgs/issues/188384)
* purple-events
* purple-libnotify

and added slack from nixpkgs.
I'm also trying to make signal integration work.

Not sure whether I'll keep pidgin, as I expect video calls from within
slack not to work.
But would be cool to have a single open source messenger instead of x
instances of chromium as wrapper around closed source web applications.
2022-08-26 13:19:09 +02:00
Daniel Siepmann 6836846092
Remove wrong options from zathura configuration
These were duplicates of completion-group repeating completion.
2022-08-24 17:29:47 +02:00
Daniel Siepmann 4ad7d5caf9
Revert "Remove zathura"
This reverts commit 961cc0df66.
2022-08-22 15:29:32 +02:00
Daniel Siepmann 61f72eeb79
Add mappings for new neovim ultest plugin 2022-08-22 15:29:15 +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 1987df7995
Fix sorting within neovim
I've a custom function SortParagraph mapped to a key binding.
This sorted different then php-cs-fixer.
I've switched from neovim built-in sort to command line sort of gnuutils
which sorts the same expected way by default.

This is done by not calling a neovim command but command line program
via "!".
2022-08-22 11:09:35 +02:00
Daniel Siepmann 961cc0df66
Remove zathura
The build is currently broken.
Revert this commit once it is working again.
See related issue in nixpkgs: https://github.com/NixOS/nixpkgs/issues/187305
2022-08-22 07:49:35 +02:00
Daniel Siepmann 6b4f49c553
Fix broken tmux configuration
The shell needs to be referenced by full absolute path.
2022-08-22 07:48:52 +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 ec3f04f910
Customer Redmine: Hide parent issue in description
This allows to easily copy the issue itself to time tracking.
2022-08-16 07:40:53 +02:00
Daniel Siepmann 42081fc2a9
Use binaries from $PATH
Do not link against raw pkgs version.
They might be adjusted.
Use the ones from PATH.
2022-08-15 08:41:53 +02:00
Daniel Siepmann 97aa38df93
Migrate fileContents to builtins.readFile
As already done for neovim configuration.
2022-08-15 08:37:40 +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 4596c6254e
Fix broken php if snippet in neovim 2022-08-03 08:31:17 +02:00
Daniel Siepmann 48e1b9d244
Update phpactor
Install latest master.
2022-08-02 13:20:43 +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 964495f0a3
Revert from mcfly back to old zsh history search
It didn't work as good as expected. It sometimes missed further lines.
It did not really shine in its neural network learning, taking into
account exist codes and cwd.
2022-08-01 16:12:18 +02:00
Daniel Siepmann 6bf26938d9
Update phpactor 2022-07-12 10:21:42 +02:00
Daniel Siepmann 638b34f085
Move Firefox addons into "Overflow menu" 2022-07-04 07:37:33 +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 6e7ec0955f
Update mcfly option
This was changed with newer releases.
2022-06-27 07:47:27 +02:00
Daniel Siepmann 3250212dc8
Add new customer ssh block 2022-06-15 16:08:03 +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 06fbb675c3
Firefox show punycode
In order to actually recognize unconventional encoded signs.
See: https://fosstodon.org/@xpil/108412951909479927
2022-06-08 16:51:27 +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 d778b9a20c
Remove forward agent from customer ssh
This is no longer necessary for that agent.
We now deploy via CI and no longer ourself.
2022-06-02 12:15:53 +02:00
Daniel Siepmann e9dc6ba190
Extend Firefox configuration
Disable syncing for most parts.
Disable auto fill (I use Keepass browser extension).

Remove some none useful bookmarks.
2022-06-01 10:12:35 +02:00
Daniel Siepmann cd63d01702
Configure keepassxc for browser extension support
Add manually installed extensions as comments.
I could install them from user repositories, but I keep this for now.
2022-05-31 08:47:21 +02:00
Daniel Siepmann 38b010075f
Migrate GPG to ni / home-manager
Install and configure gpg and gpg-agent.
Add my own public key as a test.
2022-05-30 19:17:10 +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 32fbafba20
Support new reuter folder structure on my local machine 2022-05-25 13:47:16 +02:00
Daniel Siepmann 41a03f832d
Configure neovim to show all telescope builtin + extensions
As seen on
https://www.reddit.com/r/neovim/comments/tw2d1q/are_additional_pickers_supposed_to_appear_in_the/
2022-05-25 13:17:48 +02:00
Daniel Siepmann 956ea506b8
Refactor ssh keys
Make public what is already known to the public.
Also define keys in variables for easier maintenance.

Some hostings still don't support ed.
2022-05-24 16:44:17 +02:00
Daniel Siepmann 90b5f5b6d0
Add SSH
Configure ssh, use git-crypt to crypt the configuration.
That way no information like domain name, ip, port, username, etc. are
exposed.
2022-05-24 11:55:50 +02:00
Daniel Siepmann a1e93157c4
Migrate phone web app to chromium
As it doesn't work with firefox.
2022-05-24 09:29:04 +02:00
Daniel Siepmann 3f76453f79
Cleanup ale configuration file
Remove old commented out blocks.
Remove unnecessary function and call, just set the option.
2022-05-23 18:45:51 +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 3110d19453
Replace zsh history search with mcfly
Let's see whether I keep this setup.
2022-05-23 18:45:50 +02:00
Daniel Siepmann 93bd4a08d8
Do not execute PHPUnit tests via codeception 2022-05-23 16:22:27 +02:00
Daniel Siepmann 10702e20f7
Update phpunit options for reuter in neovim
This project now uses TYPO3 v10 and phpunit 9.5.x.
I now can use testdox :)
2022-05-23 11:47:19 +02:00
Daniel Siepmann 4f2549a29e
Add sipgate webphone as "application" 2022-05-23 08:41:24 +02:00
Daniel Siepmann 7ca113b60e
Install zathura as Document Viewer (PDFs)
It uses vim keybindings and can be configured via module.
Set it as default application for PDFs.
2022-05-22 16:40:42 +02:00
Daniel Siepmann 5cc06b6967
Add keychain application
In order to not worry about ssh-agent integration, it will take care and
ask for passphrases on first zsh start.
2022-05-20 16:20:44 +02:00
Daniel Siepmann 293b5684f5
Remove no longer available and used registry 2022-05-20 13:27:19 +02:00
Daniel Siepmann 2823c2f0f9
Maintain more global options via home-manager
Use home-manager to create xsession.
Readme contains info on how to start xsession on login.

That way home-manager can maintain languages, keyboard and further stuff
globally for user.

No more need to set stuff as workaround within i3 or zsh.
Also enabled to start systemd units after login, as home-manager will
create and trigger `hm-graphical-session.target`.
2022-05-20 12:47:01 +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 ce237df68f
Disable CTRL+j binding for zsh history 2022-05-19 08:08:49 +02:00
Daniel Siepmann dc304dbcee
Keep zsh CTRL+r binding
I'm way to used to that.
I guess I'll use it for switching to search mode, and then use j+k for
moving.
2022-05-19 07:00:58 +02:00
Daniel Siepmann 02e7f24b52
Add todo for rest neovim plugin 2022-05-18 19:54:03 +02:00
Daniel Siepmann 676e0e311a
Allow forward history search in zsh
That allows me to search backward and go forward once I got to far.
I also switch to CTRL+j and CTRL+k to use vim like bindings to search
back and forth.
2022-05-18 19:49:39 +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 25e5dff4e9
Adjust Neovim keymappings for PHP / LSP
Telescope no longer provides LSP code actions.
I add a mapping to trigger code actions.

I also ensure that I don't have to wait for phpactor menu.
And I didn't use hover anyway.
2022-05-17 13:07:40 +02:00
Daniel Siepmann 847550b3c9
Hide disturbing HTML on redmine
In order to easy copy & paste issue title + number to time tracking.
2022-05-17 11:32:39 +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 f3e90cd960
Fix broken TYPO3 auto login
Enable auto login
Fix broken include of additional configuration. Seems it is loaded
multiple times, we should prevent _once to always have it loaded.
2022-05-16 11:46:25 +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 df46cb05ed
Cleanup nix flakes + shells
Remove flakes for now.
I will use shells for now to not have a mixed setup.
Add composer v1 for a single customer project as overlay due to usage in
shell instead of flakes.

Adjust folder to not have unnecessary deep structure.

Add shell for reuter monorepo using composer v1.
2022-04-14 15:46:49 +02:00
Daniel Siepmann ee2e7d04e1
Add info how to re source session variables 2022-04-14 15:09:28 +02:00
Daniel Siepmann 5221385642
Migrate global TYPO3 configurations
Those were the last piece in my old .dotfiles repository.
The whole configuration is now defined here.

Only customer specifics are in a separate location / repo to not expose
any sensible data.
2022-04-14 15:07:29 +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 f77855abac
Add Neovim snippet for PHP invoke
Useful as many event handler will only implement this method.
2022-04-12 16:41:44 +02:00
Daniel Siepmann 95d0cb9a2c
Do not use vim as pager
That is inconvenient I often wanna see something and get back to work.
But vim is just to much and more complex to quit.
2022-04-11 07:52:55 +02:00
Daniel Siepmann c3df8f0029
Remove community substituter
As it reports that some keys won't match and I don't use it right now.

Reverts 175ebf6 content wise but keeps syntax improvements
2022-03-31 19:42:53 +02:00
Daniel Siepmann f4cdf96abe
Added typescript syntax for Neovim 2022-03-31 15:15:52 +02:00
Daniel Siepmann 1dcaf129f6
Hide further elements on customer redmine 2022-03-31 09:55:15 +02:00
Daniel Siepmann 61b7c19a2a
Hide promoted posts on reddit 2022-03-31 09:55:02 +02:00
Daniel Siepmann 32df656e75
Add statix for nix checking into Neovim 2022-03-30 15:49:54 +02:00
Daniel Siepmann def8300cca
Disable paging for some git commands
I don't like pager for those commands.
2022-03-30 13:02:58 +02:00
Daniel Siepmann 0feb84f5c1
Hide frustrating unnecessary status badge in redmine
I copy the issue id and description for time tracking and the badge is
in between.
I disable it as I don't need it. That way I also won't copy it to time
tracking anymore.
2022-03-30 13:01:54 +02:00
Daniel Siepmann 3255241ae2
Give page a chance over less
page also uses neovim, but re uses existing setup and improves over
nvimpager.
2022-03-29 15:39:01 +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 8de53581b2
Integrate gitlint via ale for SAC customer project
We have pretty simple rules.
The first line needs to match a specific pattern.
2022-03-29 13:51:59 +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
Daniel Siepmann 175ebf65b2
Add nix community binary caches from cachix.org
No use case yet, but that way I don't have to worry in future.
2022-03-28 13:57:31 +02:00
Daniel Siepmann 992116b57d
Migrate nix and nix registry configuration to home manager module
There is an existing module.
Existing manually written and linked files are replaced with usage of
the module.

This has the advantage that I don't need to know where to place the
files and which format to use.
Furthermore, the module will check whether I've typos in options and
whether values match expected types.
2022-03-24 07:39:56 +01:00
Daniel Siepmann cbe783115c
Update todo comments 2022-03-23 17:42:04 +01:00
Daniel Siepmann f0323720e7
Update typoscript syntax plugin for Neovim 2022-03-23 17:41:47 +01:00
Daniel Siepmann 126b0fa422
Add new plugin to Neovim for easier merges
I'll give it a try and check how well it works.
2022-03-23 17:28:36 +01:00
Daniel Siepmann cdbf6a8680
Link Git mergetool against nixpkgs neovim
Do not use any global path.
2022-03-23 17:27:43 +01:00
Daniel Siepmann 774e4f8555
Rename Neovim custom telescope
The keyboard shortcut was already in use.
I therefore renamed custom_functions into custom runs.
That way I can add multiple things in the future.
E.g. the items to select can also be a table which defines the name as
well as what to execute. That way I could add functions, commands and
other things.
2022-03-23 16:37:26 +01:00
Daniel Siepmann 380e4b6cd7
Add first custom Neovim Telescope picker
This adds a list of my custom defined functions for easier calling.
2022-03-23 09:31:33 +01:00
Daniel Siepmann 30db8651a7
Improve cmp and lsp integration in Neovim
Use omni after more specific completions.
Add buffer to completion, not as fallback. I often wanna complete from
current buffer.

Keep syntax consistent when requiring lua modules.
2022-03-23 08:23:10 +01:00
Daniel Siepmann b97c6b363b
Enable Neovim cmp lsp support
It just works now, I probably have changed something to make that happen
but don't know what exactly.
2022-03-23 07:41:26 +01:00
Daniel Siepmann e8270eeda3
Always use php 7.4 for phpactor
I already used 7.4 for language server integration.
2022-03-22 14:39:04 +01:00
Daniel Siepmann cb7d380e0b
Add Neovim cmp autocompletion
Finally a fast none disturbing auto completion.
lsp_signature_nvim is kept as it provides info while filling in
arguments.
cmp lsp didn't work in my case, so didn't add it.
2022-03-22 13:31:26 +01:00
Daniel Siepmann a652394ba4
Use PHP 7.4 for phpactor
As 8.0 triggers some notices.
2022-03-22 13:31:25 +01:00
Daniel Siepmann e64f6b8030
Migrate whole Neovim configuration into expected structure
That way I can load my whole configuration as a plugin.
I no longer need to explicitly set any configuration via nix as init.vim
or such things.
2022-03-22 09:38:34 +01:00
Daniel Siepmann 6884adfa9d
Remove language server written in nodejs
Due to high risk of insecure dependencies, even dependencies vanishing
file system.
2022-03-22 09:18:59 +01:00
Daniel Siepmann 1b2e8a969a
Remove Neovim dadbod database integration
Autocompletion is way behind mycli / litecli. And that's more important
to me. So do not keep the plugins. Keep existing workflow instead.
2022-03-22 07:47:28 +01:00
Daniel Siepmann a527da50ac
Add Neovim dadbod-* plugins
Not sure if I'll settle on that. I'm currently used to mycli and
litecli.
But sounds useful to have it within the editor to not have different
programs with different configuration and behaviour.
2022-03-21 16:01:01 +01:00
Daniel Siepmann a9c1c526f1
Adjust Neovim Telescope design
Use ascending sorting to move selection to the prompt.
Also shorten width as it felt to much on my larger screen.
2022-03-21 15:49:17 +01:00
Daniel Siepmann 5fb8c7f0c0
Use buildVimPluginFrom2Nix as outer most public API 2022-03-17 11:53:49 +01:00
Daniel Siepmann c856a38eab
Auto select first autocomplete item in Neovim.
As this is most of the time what I need.
I can deselect and type freely to narrow down anyway.
2022-03-17 10:12:35 +01:00
Daniel Siepmann d7f83654e8
Add Neovim LSP for Yaml files 2022-03-17 09:01:15 +01:00
Daniel Siepmann 2dae9f5813
Update neovim plugin todo after reviewing all nixpkgs vim plugins
Also read some other sites
2022-03-17 08:04:13 +01:00
Daniel Siepmann 8448e85bb1
Add xmllint via ale to neovim
Maintain all dependencies via nix / home-manager.
Load xsd schema file.
Define nix xmllint for linting.
2022-03-16 17:12:48 +01:00
Daniel Siepmann 7d333c703b
Streamline omnifunc for php
use same as for vim
2022-03-16 16:54:46 +01:00
Daniel Siepmann 565540611b
Add vim language server 2022-03-16 16:54:23 +01:00
Daniel Siepmann 42f9578ef6
Use nix php when starting phpactor language server 2022-03-16 16:53:46 +01:00
Daniel Siepmann ab062b61d4
No need to learn lua yet 2022-03-16 16:53:12 +01:00
Daniel Siepmann 7bb2b2921e
Show neovim omnifunc completion also for single item
In order to allow to select the item.
2022-03-16 16:52:47 +01:00
Daniel Siepmann 02437cefba
Configure Neovim completion
Still use menu like default.
Do not show preview as in default.
Do not insert as in default.
Do not select as in default.

This allows me to see suggestions but continue typing to narrow down.
Also allows me to manually select a result.

That way completion is out of my way but there to support me.
2022-03-16 16:25:06 +01:00
Daniel Siepmann c8b487c3fd
Remove todo Neovim plugin telescope can already do this 2022-03-16 16:03:31 +01:00
Daniel Siepmann 3269d15f1d
Extend neovim telescope tags with sql
Also add alphabetical sorting of configuration keys.
2022-03-16 15:38:49 +01:00
Daniel Siepmann e653973ab5
Remove todo neovim plugin trouble
telescope can already show them
2022-03-16 15:15:47 +01:00
Daniel Siepmann 9d4f19af6f
Remove already done todo 2022-03-16 15:15:31 +01:00
Daniel Siepmann 668882522b
Do only list tracked files by default via telescope in neovim 2022-03-16 15:15:17 +01:00
Daniel Siepmann 40cef5b623
Add LSP basics (PHP)
Add for PHP via existing phpactor as server.
Use new signature plugin for proper none irritating inline help during
function calls.

TODO: Get rid of preview window showing up …
2022-03-16 14:46:12 +01:00