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:
|
1. Clone this repository:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/nezia1/nixos-config.git
|
git clone https://github.com/nezia1/dotfiles.git .dotfiles
|
||||||
cd nixos-config
|
cd .dotfiles
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Switch to the desired configuration:
|
2. Switch to the desired configuration:
|
||||||
|
|
|
@ -288,11 +288,11 @@
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-krjVFFsJfKvYRvOoBkZ8xr+OEZ5nfmgf4oxmE/h6Q9c=",
|
"narHash": "sha256-krjVFFsJfKvYRvOoBkZ8xr+OEZ5nfmgf4oxmE/h6Q9c=",
|
||||||
"path": "/nix/store/l21z352sl72xph23gccnqaply5lh785p-source/shells",
|
"path": "/nix/store/0blxgxs9nfzfi2fj1gy59l8660kldyci-source/shells",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/l21z352sl72xph23gccnqaply5lh785p-source/shells",
|
"path": "/nix/store/0blxgxs9nfzfi2fj1gy59l8660kldyci-source/shells",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
action = ''
|
action = ''
|
||||||
<cmd>lua vim.lsp.buf.formatting()<CR>
|
<cmd>lua vim.lsp.buf.format()<CR>
|
||||||
'';
|
'';
|
||||||
key = "<leader>lf";
|
key = "<leader>lf";
|
||||||
options = {
|
options = {
|
||||||
|
|
Loading…
Reference in a new issue