From 9ef7e27f7979e2b0b39c0c719268a066dc2239c7 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Sun, 22 Dec 2024 00:00:02 +0100 Subject: [PATCH] nvim: enable spell checker --- home/terminal/nixvim/default.nix | 13 +++++-------- home/terminal/nixvim/telescope.nix | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/home/terminal/nixvim/default.nix b/home/terminal/nixvim/default.nix index 662f76e..6b52415 100644 --- a/home/terminal/nixvim/default.nix +++ b/home/terminal/nixvim/default.nix @@ -1,11 +1,6 @@ { pkgs, ... }: { - # TODO - # 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 + # Trailing spaces in status line imports = [ ./telescope.nix @@ -35,7 +30,9 @@ colorcolumn = "88"; cursorline = true; number = true; + spell = true; termguicolors = true; + textwidth = 80; }; plugins = { cmp = { @@ -79,9 +76,9 @@ lsp.servers.tflint.enable = true; lsp.servers.yamlls.enable = true; 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 - lualine.enable = true; # Statusline + lualine.enable = true; # Status line render-markdown.enable = true; treesitter.enable = true; web-devicons.enable = true; diff --git a/home/terminal/nixvim/telescope.nix b/home/terminal/nixvim/telescope.nix index e0503c4..a91e521 100644 --- a/home/terminal/nixvim/telescope.nix +++ b/home/terminal/nixvim/telescope.nix @@ -22,7 +22,7 @@ "ft" = "treesitter"; # Git pickers "fgs" = "git_status"; - # lsp + # LSP }; }; };