nvim: LSP format on save
This commit is contained in:
parent
446e93f23f
commit
aec0d3b8f3
@ -48,6 +48,7 @@
|
||||
fish_add_path ~/go/bin/
|
||||
export DEBFULLNAME="Johannes Rothe"
|
||||
export DEBEMAIL="${mail}"
|
||||
export GIT_EDITOR="nvim"
|
||||
export GIT_AUTHOR_NAME="Johannes Rothe"
|
||||
export GIT_AUTHOR_EMAIL="${mail}"
|
||||
export GIT_COMMITTER_NAME="Johannes Rothe"
|
||||
|
@ -55,9 +55,9 @@
|
||||
"<CR>" = "cmp.mapping.confirm({ select = false, behavior = cmp.ConfirmBehavior.Replace })";
|
||||
};
|
||||
};
|
||||
committia.enable = true;
|
||||
gitgutter.enable = true;
|
||||
guess-indent.enable = true;
|
||||
committia.enable = true; # Enhanced git commits
|
||||
gitgutter.enable = true; # Show git change in first line
|
||||
guess-indent.enable = true; # Guess indent of the file
|
||||
lsp.enable = true;
|
||||
lsp.servers.pylsp = {
|
||||
enable = true;
|
||||
@ -65,9 +65,13 @@
|
||||
black.enabled = true;
|
||||
isort.enabled = true;
|
||||
ruff.enabled = true;
|
||||
ruff.formatEnabled = false;
|
||||
};
|
||||
};
|
||||
lualine.enable = true;
|
||||
lsp-format.enable = true; # Automatically format on save
|
||||
lsp-lines.enable = true; # Display lsp hints in lines
|
||||
lsp-signature.enable = true; # Show function signature when typing
|
||||
lualine.enable = true; # Statusline
|
||||
treesitter.enable = true;
|
||||
web-devicons.enable = true;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user