fix lsp format command in neovim (<leader>lf)

This commit is contained in:
Anthony Rodriguez 2024-08-25 22:24:50 +02:00
parent 01976d8952
commit 850d767a8c
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
3 changed files with 5 additions and 5 deletions

View file

@ -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:

View file

@ -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"
}
},

View file

@ -79,7 +79,7 @@
}
{
action = ''
<cmd>lua vim.lsp.buf.formatting()<CR>
<cmd>lua vim.lsp.buf.format()<CR>
'';
key = "<leader>lf";
options = {