Commit graph

59 commits

Author SHA1 Message Date
Daniel Siepmann c29a6690d9
Cleanup neovim match 2023-07-17 07:56:11 +02:00
Daniel Siepmann 91711e7b46
Update customer setups 2023-07-11 09:01:28 +02:00
Daniel Siepmann 1ebb6ec0d8
Ignore export folder 2023-06-13 10:50:10 +02:00
Daniel Siepmann ce01c2214a
Improve php snippet 2023-06-13 10:49:41 +02:00
Daniel Siepmann fc543eec51
Adjust project specifics 2023-05-11 07:48:30 +02:00
Daniel Siepmann bc10779a9a
Add wm specific Vim setup 2023-05-03 14:22:26 +02:00
Daniel Siepmann c631934469
Add License header to codeception file snippet 2023-05-03 14:13:12 +02:00
Daniel Siepmann 9c435e9e51
Adjust test execution for project
Colors is already added, no need to specify it a 2nd time.
Also it recently became more helpful to not stop tests on first error.
The original config is kept for faster switch.
2023-04-26 09:24:34 +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 07fd622e8a
Add Neovim mapping to open terminal with nix shell
The command will open a terminal and send the "nsz" command, which I've
defined as an alias to start the nix shell with zsh.
2023-04-26 09:20:48 +02:00
Daniel Siepmann be7063d983
Improve spell checking within neovim
Turn on spell checking for all files by default.
Enable camel recognition for spell checking by default.
Remove no longer used files as they only turned spell checking off,
which no longer is necessary.
2023-04-20 14:11:12 +02:00
Daniel Siepmann 6707ddc8f0
Fix snippet for Services.php files
Remove Configuration namespace and add default for services.
2023-04-05 16:53:27 +02:00
Daniel Siepmann 176a144648
Remove neovim paste binding, "Just Paste It.™"
See: https://github.com/neovim/neovim/pull/22647
2023-03-13 08:21:41 +01:00
Daniel Siepmann 0b2ee9c1bf
Add xml snippet for TYPO3 database dumbs within functional tests 2023-03-07 15:42:14 +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 9625065974
Adjust test execution for project
We now have two separate configuration files and configure the test
plugin to add them to the calls.
2023-02-20 09:12:43 +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 937a6c333e
Remove no longer existing customer path 2023-02-14 08:30:52 +01:00
Daniel Siepmann 5f3fb564ef
Add services snippets for php 2023-01-10 08:30:11 +01:00
Daniel Siepmann 60d1aa5d83
Adapt fluid template file snippet
Follow my friends structure.
2022-12-14 11:47:50 +01:00
Daniel Siepmann 2fcabe6024
No longer clear typoscript cache 2022-12-08 09:11:00 +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 f1c34445d5
Add fes project specifics for vim 2022-10-17 09:51:16 +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 47406c7e76
Add php snippet for codeception cest file 2022-10-11 10:07:44 +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 d6d7bb7565
Add neovim csv snippet 2022-09-28 09:59:52 +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 6719549999
Configure prefered commentstring for c programming 2022-08-30 17:31:21 +02:00
Daniel Siepmann 61f72eeb79
Add mappings for new neovim ultest plugin 2022-08-22 15:29:15 +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 4596c6254e
Fix broken php if snippet in neovim 2022-08-03 08:31:17 +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 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 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 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 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 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 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 f0323720e7
Update typoscript syntax plugin for Neovim 2022-03-23 17:41:47 +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 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 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