fix lsp format command in neovim (<leader>lf)
This commit is contained in:
parent
01976d8952
commit
850d767a8c
3 changed files with 5 additions and 5 deletions
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
}
|
||||
{
|
||||
action = ''
|
||||
<cmd>lua vim.lsp.buf.formatting()<CR>
|
||||
<cmd>lua vim.lsp.buf.format()<CR>
|
||||
'';
|
||||
key = "<leader>lf";
|
||||
options = {
|
||||
|
|
Loading…
Reference in a new issue