add lsp, update neo-tree config and add bufferline
This commit is contained in:
parent
aa3c28cd64
commit
8a113cfce8
6 changed files with 270 additions and 7 deletions
23
config/plugins/lsp/conform.nix
Normal file
23
config/plugins/lsp/conform.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
plugins.conform-nvim = {
|
||||
enable = true;
|
||||
formatOnSave = {
|
||||
lspFallback = true;
|
||||
timeoutMs = 500;
|
||||
};
|
||||
notifyOnError = true;
|
||||
formattersByFt = {
|
||||
liquidsoap = ["liquidsoap-prettier"];
|
||||
html = [["prettierd" "prettier"]];
|
||||
css = [["prettierd" "prettier"]];
|
||||
javascript = [["prettierd" "prettier"]];
|
||||
typescript = [["prettierd" "prettier"]];
|
||||
python = ["black"];
|
||||
lua = ["stylua"];
|
||||
nix = ["alejandra"];
|
||||
markdown = [["prettierd" "prettier"]];
|
||||
yaml = ["yamllint" "yamlfmt"];
|
||||
terraform = ["terraform-fmt"];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue