nvim: enable spell checker

This commit is contained in:
Johannes Rothe 2024-12-22 00:00:02 +01:00
parent db1e6d1bad
commit 9ef7e27f79
2 changed files with 6 additions and 9 deletions

View File

@ -1,11 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# TODO # Trailing spaces in status line
# Linter (ale)
# Markdown spellcheck
# Missing plugins from old vim config
# Trailing spaces in statusline
# Good example: https://github.com/fred-drake/neovim/blob/master/config/python/language.nix
imports = [ imports = [
./telescope.nix ./telescope.nix
@ -35,7 +30,9 @@
colorcolumn = "88"; colorcolumn = "88";
cursorline = true; cursorline = true;
number = true; number = true;
spell = true;
termguicolors = true; termguicolors = true;
textwidth = 80;
}; };
plugins = { plugins = {
cmp = { cmp = {
@ -79,9 +76,9 @@
lsp.servers.tflint.enable = true; lsp.servers.tflint.enable = true;
lsp.servers.yamlls.enable = true; lsp.servers.yamlls.enable = true;
lsp-format.enable = true; # Automatically format on save lsp-format.enable = true; # Automatically format on save
lsp-lines.enable = true; # Display lsp hints in lines lsp-lines.enable = true; # Display LSP hints in lines
lsp-signature.enable = true; # Show function signature when typing lsp-signature.enable = true; # Show function signature when typing
lualine.enable = true; # Statusline lualine.enable = true; # Status line
render-markdown.enable = true; render-markdown.enable = true;
treesitter.enable = true; treesitter.enable = true;
web-devicons.enable = true; web-devicons.enable = true;

View File

@ -22,7 +22,7 @@
"<leader>ft" = "treesitter"; "<leader>ft" = "treesitter";
# Git pickers # Git pickers
"<leader>fgs" = "git_status"; "<leader>fgs" = "git_status";
# lsp # LSP
}; };
}; };
}; };