* feat(typescript): configure inlayHint
since LazyVim have toggle inlayhint keymap, it make sense to configure
them for each extra languages provided. In this commit I just add the
configuration for typescript, since IDK how to configure the rest of
lang extras that was provided.
* fix: changed defaults
---------
Co-authored-by: Radvil <radvil.linux@gmail.com>
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
If lazy extras yaml is enabled, yamlls was being loaded not ansiblels.
Add ft = {} to nvim-ansible spec allows ft=yaml.ansible to be detected.
Re-mapped nvim-ansible plugin key to not conflict with neotest.
Added a description for the keymap.
* fix(python): make both `ruff` and `ruff_lsp` available to user
Provide global variable to choose between `ruff` and `ruff_lsp` in
accordance to `pyright`/`basedpyright`
* refactor(python): ruff stuff
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
* 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.
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)
* 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
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)
* 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
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
* 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>