- Add nvim-jdtls for Java LSP with Maven/Gradle project detection
- Create ftplugin/java.lua for automatic jdtls startup and keymaps
- Enable nvim-dap with java-debug-adapter for breakpoint debugging
- Add neotest with neotest-java adapter for JUnit 5 test runner
- Add NeotestJavaDownload command for JUnit jar setup on Neovim < 0.12
- Configure google-java-format via conform.nvim
- Add java treesitter parser and <leader>j which-key group
- Mason auto-installs jdtls, java-debug-adapter, java-test, google-java-format
- Add vtsls LSP with @vue/typescript-plugin for Vue hybrid mode
- Add vue_ls (Volar) for Vue 3 SFC support
- Add ESLint LSP for real-time linting
- Configure prettierd formatter for JS/TS/Vue/CSS/HTML/JSON via conform.nvim
- Add nvim-ts-autotag for auto-close/rename HTML and Vue tags
- Extend treesitter parsers: typescript, tsx, javascript, vue, css, json
- Add Mason ensure_installed for all new tools
* move telescope related lsp functions inside the telscope plugin declaration block
* explicitly enable telescope plugin, add some comments explainging why
* update comments with suggestions from @oriori1703
Co-authored-by: Ori Perry <48057913+oriori1703@users.noreply.github.com>
* fix formatting in accordance to stylua so that pipeline passes
---------
Co-authored-by: Philipp Szechenyi <philipp.szechenyi@cgm.com>
Co-authored-by: Philipp Szechenyi <45265588+szechp@users.noreply.github.com>
Co-authored-by: Ori Perry <48057913+oriori1703@users.noreply.github.com>
Co-authored-by: philipp <philipp@philipps-MacBook-Pro.local>
The functions of vim.highlight were renamed to vim.hl on commit
18b43c331d8a0ed87d7cbefe2a18543b8e4ad360 of neovim, which was applied
with the release of nvim version 0.11.
Now, the use of vim.highlight is deprecated, and instead, one should
use vim.hl functions.
In practice, vim.highlight is still working, however, asking for help
for vim.highlight.on_yank fails (E149), while asking for help for
vim.hl.on_yank works as expected. So, by updating the used function, a
new user will have easier time looking getting the relevant help.
Co-authored-by: Omri Sarig <omri.sarig@prevas.dk>
* Replace vim.opt with vim.o
Because it offers a nicer interface and info on hover.
For now leave vim.opt when using the table interface (until vim.o
with tables is implemented)
* Add type hint for vim.opt.rtp
* Add a comment about using vim.opt instead of vim.o
* docs: clarify using opts = {} vs config = function() ... require('plugin').setup({}) .. end
The current documentation mentioning that using "require" is equivalent to using "opts" without detailing the use in the "config = function()" block seems inaccurate.
Lower in the configuration the "config = function()" block is used without clarifying why it needed and what it does.
This clarification may help new users understand the difference between the two, or how and where to place the "require" statement.
* Update init.lua
* remove whitespace