Compare commits

...

3 commits

Author SHA1 Message Date
Ching Pei Yang
cd87a0f0f7
blink: do not inherit vim's lsp capabilities 2024-12-26 05:23:19 +01:00
Ching Pei Yang
9f8a3137eb
lspsignature: add assertion against blink.cmp 2024-12-26 05:05:26 +01:00
Ching Pei Yang
d03030d02a
docs: udpate release notes 2024-12-23 23:20:22 +01:00
3 changed files with 17 additions and 1 deletions

View file

@ -15,6 +15,12 @@
- Add Haskell support under `vim.languages.haskell` using [haskell-tools.nvim].
[horriblename](https://github.com/horriblename):
[blink.cmp]: https://github.com/saghen/blink.cmp
- Add [blink.cmp] support
[diniamo](https://github.com/diniamo):
- Add Odin support under `vim.languages.odin`.

View file

@ -173,7 +173,7 @@ in {
''}
${optionalString usingBlinkCmp ''
capabilities = require('blink.cmp').get_lsp_capabilities(capabilities)
capabilities = require('blink.cmp').get_lsp_capabilities()
''}
'';
};

View file

@ -10,6 +10,16 @@
cfg = config.vim.lsp;
in {
config = mkIf (cfg.enable && cfg.lspSignature.enable) {
assertions = [
{
assertion = !config.vim.autocomplete.blink-cmp.enable;
message = ''
lsp-signature does not work with blink.cmp. Please use blink.cmp's builtin signature feature:
vim.autocomplete.blink-cmp.setupOpts.signature.enabled = true;
'';
}
];
vim = {
startPlugins = [
"lsp-signature"