From 850d767a8c3061268463795ec3eaed82672bb37d Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Sun, 25 Aug 2024 22:24:50 +0200 Subject: [PATCH] fix lsp format command in neovim (lf) --- README.md | 4 ++-- flake.lock | 4 ++-- home/base/programs/nixvim/default.nix | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5ceddc9..0703dfb 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ To apply the configuration on a machine, use the following steps: 1. Clone this repository: ```bash -git clone https://github.com/nezia1/nixos-config.git -cd nixos-config +git clone https://github.com/nezia1/dotfiles.git .dotfiles +cd .dotfiles ``` 2. Switch to the desired configuration: diff --git a/flake.lock b/flake.lock index 93960e6..3afc440 100644 --- a/flake.lock +++ b/flake.lock @@ -288,11 +288,11 @@ "locked": { "lastModified": 1, "narHash": "sha256-krjVFFsJfKvYRvOoBkZ8xr+OEZ5nfmgf4oxmE/h6Q9c=", - "path": "/nix/store/l21z352sl72xph23gccnqaply5lh785p-source/shells", + "path": "/nix/store/0blxgxs9nfzfi2fj1gy59l8660kldyci-source/shells", "type": "path" }, "original": { - "path": "/nix/store/l21z352sl72xph23gccnqaply5lh785p-source/shells", + "path": "/nix/store/0blxgxs9nfzfi2fj1gy59l8660kldyci-source/shells", "type": "path" } }, diff --git a/home/base/programs/nixvim/default.nix b/home/base/programs/nixvim/default.nix index 61fcb2f..b45fb87 100644 --- a/home/base/programs/nixvim/default.nix +++ b/home/base/programs/nixvim/default.nix @@ -79,7 +79,7 @@ } { action = '' - lua vim.lsp.buf.formatting() + lua vim.lsp.buf.format() ''; key = "lf"; options = {