DEVELOPMENT ENVIRONMENT

~liljamo/nvim-flake

8b63487eaa126b49944ade25fd9279483cef2a8a — Jonni Liljamo 28 days ago 377b0f4 master
feat(lsp-{lines,signatures}): init
2 files changed, 15 insertions(+), 5 deletions(-)

M config/default.nix
M config/plugins/lsp.nix
M config/default.nix => config/default.nix +0 -5
@@ 15,11 15,6 @@

  clipboard.providers.wl-copy.enable = true;

  extraConfigLua = ''
    -- disable inline diagnostic messages
    vim.diagnostic.config({ virtual_text = false })
  '';

  extraPackages = with pkgs; [
    delta
  ];

M config/plugins/lsp.nix => config/plugins/lsp.nix +15 -0
@@ 42,9 42,24 @@
        yamlls.enable = true;
      };
    };
    lsp-lines.enable = true;
    lsp-signature = {
      enable = true;
      settings = {
        doc_lines = 0;
        handler_opts.border = "none";
        hint_enable = false;
      };
    };
    fidget.enable = true;
  };

  extraConfigLua = ''
    -- disable inline diagnostic messages,
    -- but enable virtual lines for lsp-lines
    vim.diagnostic.config({ virtual_text = false, virtual_lines = true })
  '';

  keymaps = [
    {
      action = "<cmd>lua vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())<CR>";