#vim9 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #vim9, aggregated by home.social.
-
@nemith Thanks for the tip. I have worked with #Neovim for a long time and am therefore quite familiar with it. However, despite having fewer plugins, it has always been considerably slower than #Vim9. Additionally, the LSP architecture is painfully slow and dependent on other language servers running in the background and listening on UNIX sockets. This is acceptable with gopls. Unfortunately, 90% of my work still involves #PHP and all the PHP language servers are poor. #Intelephense, which I purchased, is even proprietary and was often unable to validate my licence.
I was so frustrated that I gave up on Neovim because it offered me no added value compared to Vim 9. Moreover, 89% of what LSPs do can also be provided by #ctags, without the need for a buggy and slow Node.js Language Server. -
Is the Vim (9.1) tag search slow for you too? This only happens with huge projects that have many PHP vendor dependencies, which can occur quickly with PHP. How do you handle it? Does Vim understand multiple tag files? Can it be multi-threaded somehow?
-
Vim9script is a statically-typed language, inspired by typescript, but much simpler and more limited.
A recent PR lifts some of those limitations by adding generic functions to the language: https://vimhelp.org/vim9.txt.html#generic-functions
-
Has anyone had good experiences with (universal) ctags for PHP? Looking for a solid, non-plugin, vim-native LS alternative for vim (9.1).
I tried `ctags -R --language-force=PHP --php-kinds=+c-f --fields=+n` as well as setting tags `set tags=./tags;,tags` but vim can't jump to function declarations by tag.
-
If you'd like to convert some of your Vim scripts and configuration to vim9script, this tool could be a useful starting point: https://github.com/ubaldot/vim9-conversion-aid
-
I wrote an emoji plugin for Vim in vim9script.
Check it out:
https://github.com/wolandark/vim-ez-emojiIts nothing fancy, just two compiled functions consist of a load of abbreviations.
Does the job and is pretty quick. -
heise+ | Praxistest: Texteditor Vim 9 für Administratoren und Entwickler
Mit einer neuen Skriptsprache verbessert Vim 9 die Performance des Kommandozeileneditors deutlich. Das jüngste Release enthält außerdem praktische Neuerungen.
Praxistest: Texteditor Vim 9 für Administratoren und Entwickler