mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-08 09:09:49 +01:00
lspsignature: add assertion against blink.cmp
This commit is contained in:
parent
1fe5b6d6c0
commit
d31ab256f9
1 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,16 @@
|
||||||
cfg = config.vim.lsp;
|
cfg = config.vim.lsp;
|
||||||
in {
|
in {
|
||||||
config = mkIf (cfg.enable && cfg.lspSignature.enable) {
|
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 = {
|
vim = {
|
||||||
startPlugins = [
|
startPlugins = [
|
||||||
"lsp-signature"
|
"lsp-signature"
|
||||||
|
|
Loading…
Reference in a new issue