Commit graph

119 commits

Author SHA1 Message Date
Folke Lemaitre
f055265bff
feat(python): added option to configure basedpyright as lsp. Check the python extra docs. Fixes #2787 2024-03-20 17:18:11 +01:00
Folke Lemaitre
843032ef1c
fix(markdown): disable headlines.nvim bullets for now 2024-03-14 16:53:00 +01:00
Folke Lemaitre
0ba731a879
fix(markdown): disable headlines.nvim in insert mode. Fixes #2717 2024-03-14 16:39:23 +01:00
Marc Jakobi
2a666ac5f2
fix(rust): don't overwrite vim.g.rustaceanvim if it is defined (#2720) 2024-03-14 00:07:40 +01:00
Adam Stracener
b12e742458
fix(terraform-extra): Drop unnecessary commentstring config for terraform (#2680)
* fix(terraform-extra): Drop unnecessary commentstring config for terraform

The commentstring for terraform and hcl files is now handled by nvim-ts-context-commentstring:

JoosepAlviste/nvim-ts-context-commentstring#94

* Fixed terraform.lua issues. I'm bad.
2024-03-09 08:59:44 +01:00
Uthman Mohamed
04bc5718a5
fix(haskell): Make Haskell-snippets lazy load for performance (#2676)
* fix(haskell): add filetype to haskell-snippets for lazy load

* format haskell.lua

---------

Co-authored-by: Uthman Mohamed <83053931+1239uth@users.noreply.github.com>
2024-03-08 11:22:36 +01:00
Folke Lemaitre
139c41c18e
feat(lang): replace rust-tools.nvim with rustacean.nvim #2198
dummy commit to trigger changelog.
original commit message was not correct and didnt get picked up by the changelog
2024-03-07 20:41:12 +01:00
Wellington Lopes Souza
e8e7d22f56
fix(go): adding opts recursive_run (#2520)
Adding opts recursive_run to fix the error 'no Go files in /path/project.' This issue is caused by a recent change in the 'nvim-neotest/neotest-go' project, which now [defaults to non-recursive behavior](https://github.com/nvim-neotest/neotest-go/pull/72)
2024-03-07 17:49:06 +01:00
Frederick Zhang
a7c16f8efd
feat(java): allow opts for setup_dap_main_class_configs() (#2581)
[1] 382b9f6258/doc/jdtls.txt (L206-L210)
2024-03-07 17:48:00 +01:00
Folke Lemaitre
b2a0ae6d0d
fix(ansible): incorrect key spec 2024-03-07 16:41:03 +01:00
Iordanis Petkakis
ed135e6ffd
fix(lang): Change rustacean keymaps to vim.keymap.set instead of which-key (#2660)
Based on this [comment](https://github.com/LazyVim/LazyVim/pull/2198#pullrequestreview-1873658780).
2024-03-07 16:34:49 +01:00
Peter Benjamin
d57817d79b
feat(lang): add telescope terraform integrations (#2235)
* feat(lang): add telescope terraform integrations

Closes #2234

Add telescope integrations for:
- https://github.com/ANGkeith/telescope-terraform-doc.nvim
- https://github.com/cappyzawa/telescope-terraform.nvim

* fix(lang): remove event from terraform telescope extensions
2024-03-07 11:59:38 +01:00
Võ Quang Chiến
f23d3cee42
feat(omnisharp): add nvim-dap configuration (#2532)
* feat(omnisharp): add `nvim-dap` configuration

* chore(omnisharp): add `netcoredbg` to `ensure_installed`

* chore: simplify get `netcoredbg` path
2024-03-07 11:56:27 +01:00
Peter Benjamin
de01a37cb6
feat(lang): add support for helm chart templates (#2273)
* feat(lang): add support for helm chart templates

* fix(helm): stop yamlls and disable autostart

* fix(helm): stop yaml & docker compose lsp on helm file types

Revert disabling `autostart` since that kills the LSP globally even when
opening a standard yaml file, like GitHub Workflow file.

* fix(helm): remove docker compose lsp overrides

Since docker compose LSP does not seem to be triggered or started by
opening *.yaml helm files, the config overrides were removed to simplify
Helm config.

* fix(helm): ensure mason installs helm lsp
2024-03-07 11:55:58 +01:00
Christian Kleinbölting
d2502613ff
feat(extras): Add scala support using nvim-metals (#1347)
* Add scala support using nvim-metals

nvim-metals:
https://github.com/scalameta/nvim-metals

minimal example configuration from their documentation:
https://github.com/scalameta/nvim-metals/discussions/39

* add treesitter syntax highlighting
2024-03-07 11:54:16 +01:00
Marc Jakobi
c6c584f7c3
feat(lang): add Haskell config (#2052) 2024-03-07 11:51:08 +01:00
Jakub Kozłowicz
b7da44caae
feat(lang): add ansible support (#1218) 2024-03-07 11:46:33 +01:00
Andreas Gerlach
66bf7525e3
feat(lang) replace rust-tools.nvim with rustacean.nvim - fixes #2113 (#2198)
* feat(lang) - move to rustacean.nvim, fixes #2113

* update rustacean plugin

* PR comment for lsp settings
2024-03-07 11:42:23 +01:00
Frederick Zhang
f799b39eaf
fix(rust): avoid resetting cmp group_index to 1 (#2332)
For example, 'buffer' source by default has group_index = 2 [1], however
if we take all the sources plus crates and run them through
cmp.config.sources() again, since it's a one-dimensional list, all
group_indexes will be reset to 1.

[1] 879e29504d/lua/lazyvim/plugins/coding.lua (L74-L80)
2024-01-22 07:51:19 +01:00
Iordanis Petkakis
cbd9d700dc
fix(typescript): don't hardcode values in lua table (#2254)
* fix(typescript): don't hardcode values in lua table

When a user changes `vim.opt.shiftwidth` with some auto-command, it's
not taken into account. Make `opts` a function, so that values get
evaluated when `lspconfig` loads instead.

* fix(typescript): remove format settings entirely

* fix(typescript): add back comment and Lua annotations

* fix(typescript): bring back function call completion snippets
2024-01-21 20:28:16 +01:00
58ddf405e0
fix(lang): add cmakelint to ensure installed list (#1826)
1. mason/cmakelang install bin/cmake-lint
2. nvim-lint only recognize bin/cmakelint
3. mason/cmakelint install bin/cmakelint
so we need mason/cmakelint installed to using nvim-lint to perform formatting
2023-10-25 15:50:02 +02:00
Amaan Qureshi
37953585bb
fix(extras.python-semshi): improve highlights (#1845) 2023-10-25 15:47:07 +02:00
金雄镕
61fae7d23f
fix: fix jdtls not spwaning in windows (#1864) 2023-10-25 15:46:39 +02:00
Folke Lemaitre
b651560ad0
perf(markdown): prevent headlines.nvim slowing down initial rendering with nvim README.md 2023-10-25 15:40:57 +02:00
Folke Lemaitre
eab464d52d
fix(markdown): create default numbered Headline groups for colorschemes that dont support them. Fixes #1822 2023-10-25 14:23:44 +02:00
Aron Griffis
8df44b3bb5
feat(typescript): added remove unused imports (#1794) 2023-10-19 20:12:48 +02:00
Folke Lemaitre
3dbeda9d96
fix(markdown): add marksman to mason install 2023-10-16 12:44:41 +02:00
Folke Lemaitre
152e1c6692
feat(markdown): added headlines.nvim to markdown extra 2023-10-16 08:36:27 +02:00
jyuan0
7c60431c58
fix(python): add ft to Python keymaps, and fix "Markdown Preview" toggle description (#1729)
* feat(python): add `ft` to keymaps

* fix(markdown): fix toggle keymap description
2023-10-15 07:21:17 +02:00
MoetaYuko
8f42733ce5
feat(python): add key binding for organize imports (#1670) 2023-10-14 17:49:23 +02:00
Jakub Kozłowicz
b3d46bc014
feat(lang): add markdown support (#1718)
* feat(lang): add markdown support

* feat: use peek.nvim instead of markdown-preview. Disable and show warning when deno is not installed

* feat: add markdown-preview back

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-10-14 17:42:02 +02:00
Folke Lemaitre
121df70604
Revert "fix: dont lazy-load on ft. Load on cmd or keys only"
This reverts commit 3a93757bb1.
2023-10-14 17:35:13 +02:00
Folke Lemaitre
3a93757bb1
fix: dont lazy-load on ft. Load on cmd or keys only 2023-10-14 17:32:06 +02:00
Juan Cruz De La Torre
385c99dbb7
feat(go): add gofumpt formatter with conform/none-ls (#1683)
* feat(go): only install required packages

* fix: add gofumpt formatter using conform/none-ls

* fix: add mason.nvim as dependency of none-ls
2023-10-13 12:43:51 +02:00
Folke Lemaitre
14c091b1fc feat!: make conform.nvim and nvim-lint the default formatters/linters 2023-10-12 11:48:02 +02:00
Folke Lemaitre
c8c929c9fd perf(util): split lazyvim.util in smaller separate modules 2023-10-12 11:48:02 +02:00
Folke Lemaitre
33c677a55e
fix(yaml): yaml schemas are a dict, not a list, so merge properly. Fixes #1636 2023-10-08 19:29:00 +02:00
jyuan0
237be9e3a7
fix(rust): explicitly enable nvim-cmp source registration for crates (#1609) 2023-10-07 11:45:03 +02:00
Folke Lemaitre
d8f4382dd3
fix(tailwind): nil check for filetypes_include. Fixes #1607 2023-10-06 23:06:51 +02:00
Folke Lemaitre
8a1de2b90a
fix(elixir): only enable credo when installed. Fixes #1546 2023-10-06 09:18:07 +02:00
Folke Lemaitre
d3e7f7717e
fix(tailwind): allow overriding filetypes. Fixes #1590 2023-10-05 08:07:56 +02:00
Folke Lemaitre
936d74bb61
perf: added support for LazyFile event that properly loads file based plugins without blocking the ui 2023-10-04 10:45:10 +02:00
Ahmed W
626ae1338a
feat(typescript): add typescriptreact/javascriptreact to types (#1574)
* feat(typescript): add typescriptreact/javascriptreact to types

* remove unneeded values

* revert settings change
2023-10-03 23:40:32 +02:00
Ahmed W
e8ab2ff5b6
feat(go): add goimports (#1549) 2023-10-01 23:01:43 +02:00
George Guimarães
2ffd629cc7
feat(elixir): Add credo if none-ls is used (#1546) 2023-10-01 19:48:09 +02:00
Folke Lemaitre
9d17c43087
perf: dont't load schemastore as an lspconfig dep 2023-10-01 16:21:18 +02:00
Ahmed W
964dd6c4b2
fix(extras.go): remove unneeded formatters since gopls handles them (#1535)
* fix(extras.go): remove unneeded formatters since gopls handles them

* add optional back
2023-09-30 19:30:52 +02:00
Iordanis Petkakis
7821c0e851
fix(python): make venv-selector dap_enabled conditional on nvim-dap-python (#1529) 2023-09-30 17:51:47 +02:00
Folke Lemaitre
718c5c6036
fix(docker): put hadolint in its own spec 2023-09-29 16:09:33 +02:00
Folke Lemaitre
05f45bb720
feat(extras): added extra for nvim-lint 2023-09-29 15:05:01 +02:00