Commit graph

157 commits

Author SHA1 Message Date
Daniel Siepmann cce4effaa8
Add new snippets 2024-04-18 10:06:39 +02:00
Daniel Siepmann 6560232167
Add GDscript support to neovim, for Godot game engine 2024-03-28 17:11:00 +01:00
Daniel Siepmann 349d6db1f9
Improve spellcheck in neovim
Turn it off by default as too many buffers won't need it.
Instead enable explicitly for expected buffers.
2024-02-28 12:18:58 +01:00
Daniel Siepmann a546c4705c
Improve PHP handling in neovim
I've switched to treesitter but it doesn't handle folding well.
I therefore use native indent method for folding.
2024-02-20 08:10:45 +01:00
Daniel Siepmann 77df84ade7
Ensure proper environment when using nsz
I have an alias nsz which runs a nix-shell with zsh.
But the $SHELL is still bash.

I now change the SHELL variable in order to use my expected shell in all
circumstances.
I also ensure neovim will use zsh for commands as some of my auto
commands expect this shell for expansion of **.
2024-02-20 08:09:35 +01:00
Daniel Siepmann aa3374fba2
Add setup to execute tests of TYPO3 testing framework 2024-02-15 08:57:08 +01:00
Daniel Siepmann 1fd0866d00
Finally add lint status to neovim status line
I refused for a long time but it is useful for large files and if you
are editing existing files.
2024-02-14 12:59:55 +01:00
Daniel Siepmann 262b218685
Fix css tag integration for neovim 2024-02-12 07:14:09 +01:00
Daniel Siepmann b6a7813085
Fix broken TypoScript vim lint integration 2024-02-07 16:54:23 +01:00
Daniel Siepmann e885388d4f
Some more fixes for PHP snippets 2024-02-06 12:21:06 +01:00
Daniel Siepmann 2a1929aec9
Fix indentation of TypoScript 2024-02-06 07:28:42 +01:00
Daniel Siepmann 5d546f0e5c
Fix xliff snippet 2024-02-06 07:28:28 +01:00
Daniel Siepmann 0a0dcf9132
Apply TYPO3 testing setup only to TYPO3 itself
Also add setup for functional tests
2024-01-30 14:50:45 +01:00
Daniel Siepmann 7c96e9066d
Fix test class snippet for vim 2024-01-30 08:01:34 +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 e11a956534
Improve vim for TYPO3
* Fix sorting of commands.
* Add new command to flush cache for javaScript modules.
* Add new setup for unit tests of TYPO3 core.
2024-01-11 10:38:22 +01:00
Daniel Siepmann 100e05ef85
Fix and improve snippets 2024-01-10 11:51:03 +01:00
Daniel Siepmann 43e18c42b3
Extend snippets 2024-01-07 14:26:10 +01:00
Daniel Siepmann dbf00d1dfa
Extend TYPO3 content blocks setup 2024-01-07 14:25:59 +01:00
Daniel Siepmann 75230d79d6
Clear TYPO3 content blocks caches 2024-01-02 17:09:01 +01:00
Daniel Siepmann 18a663176b
Fix customer related vim setup 2023-12-20 09:11:59 +01:00
Daniel Siepmann 8aa487516b
Allow to easily comment and uncomment nix code in vim 2023-12-07 19:21:53 +01:00
Daniel Siepmann bd59e551bd
Integrate TypoScript linter into vim ale 2023-12-07 14:23:18 +01:00
Daniel Siepmann 4bd2bc8332
Update and improve cache flushing of TYPO3 2023-11-30 08:22:23 +01:00
Daniel Siepmann dc8e02c1df
Cleanup PHP Snippets 2023-11-30 08:20:59 +01:00
Daniel Siepmann c07db5167f
Remove PHPUnit testdox output format
As this will hide errors which is not helpful during development.
2023-11-29 10:48:31 +01:00
Daniel Siepmann 3d2a775d81
Adjust snippets for PHP and xliff 2023-11-16 16:07:25 +01:00
Daniel Siepmann 6e280bc9c5
Improve neovim configuration 2023-11-13 08:07:51 +01:00
Daniel Siepmann 4e00480a8c
Fix broken neovim snippets 2023-10-31 14:11:04 +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 d3497cf06b
Use html Treesitter also for fluid templates 2023-10-23 10:03:00 +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 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 30c4bfac76
Finally fix PHP snippet for Services.php
I didn't find the motivation until now.
2023-08-10 15:23:20 +02:00
Daniel Siepmann 75cee8d084
Exclude ddev folders 2023-07-27 13:08:43 +02:00
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 83b7870e19
Improve ale config
Use new diagnostic feature.
Do not configure phpstan path, this is already properly configured
upstream.
2023-06-19 10:53:29 +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 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 b8c4fcbe62
Add languagetool linter for gitcommit 2023-05-08 16:06:56 +02:00
Daniel Siepmann c04da790dc
Revert "Remove phpcs standard"
This reverts commit d6068ed38d.

As I use PSR12 most of the time and Ale will fall back to a different
standard.
2023-05-04 08:51:54 +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 d6068ed38d
Remove phpcs standard
PHPCS is not in use anymore.
Furthermore the editor doesn't need to check CGL.
All project are setup to check CGL within CI.
2023-04-26 09:23:56 +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