From 636001aea227bfa66ac9d08ec611a74e4833892f Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 20 Dec 2025 09:03:11 -0500 Subject: Add spell check into nvim --- nvim/.config/nvim/lua/eugenetriguba/options.lua | 5 +++++ nvim/.config/nvim/nvim-pack-lock.json | 22 +++++++++++----------- nvim/.config/nvim/spell/en.utf-8.add | 7 +++++++ nvim/.config/nvim/spell/en.utf-8.add.spl | Bin 0 -> 163 bytes 4 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 nvim/.config/nvim/spell/en.utf-8.add create mode 100644 nvim/.config/nvim/spell/en.utf-8.add.spl (limited to 'nvim') diff --git a/nvim/.config/nvim/lua/eugenetriguba/options.lua b/nvim/.config/nvim/lua/eugenetriguba/options.lua index 8aadd5a..ab051dd 100644 --- a/nvim/.config/nvim/lua/eugenetriguba/options.lua +++ b/nvim/.config/nvim/lua/eugenetriguba/options.lua @@ -89,3 +89,8 @@ opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } -- Preview substitutions live, as you type! opt.inccommand = 'split' + +-- Enable spell checking +opt.spell = true +opt.spelllang = { 'en_us' } +opt.spellfile = vim.env.HOME .. '/.config/nvim/spell/en.utf-8.add' diff --git a/nvim/.config/nvim/nvim-pack-lock.json b/nvim/.config/nvim/nvim-pack-lock.json index 57bde85..22c29ea 100644 --- a/nvim/.config/nvim/nvim-pack-lock.json +++ b/nvim/.config/nvim/nvim-pack-lock.json @@ -18,19 +18,19 @@ "version": "'v1.8.0'" }, "conform": { - "rev": "ffe26e8df8115c9665d24231f8a49fadb2d611ce", + "rev": "9a98b68f8fb289ca8671e9866ba4e0309a693994", "src": "https://github.com/stevearc/conform.nvim" }, "conform.nvim": { - "rev": "ffe26e8df8115c9665d24231f8a49fadb2d611ce", + "rev": "9a98b68f8fb289ca8671e9866ba4e0309a693994", "src": "https://github.com/stevearc/conform.nvim" }, "copilot.lua": { - "rev": "efe563802a550b7f1b7743b007987e97cba22718", + "rev": "508d8b00390ff3046323f61187a57069910c6e17", "src": "https://github.com/zbirenbaum/copilot.lua" }, "fidget.nvim": { - "rev": "e32b672d8fd343f9d6a76944fedb8c61d7d8111a", + "rev": "64463022a1f2ff1318ab22a2ea4125ed9313a483", "src": "https://github.com/j-hui/fidget.nvim" }, "friendly-snippets": { @@ -38,7 +38,7 @@ "src": "https://github.com/rafamadriz/friendly-snippets" }, "fzf-lua": { - "rev": "5dd9055ace1a2a44c6e7a389bebdc4419abc39f9", + "rev": "9d579feab4d3035627150e5e9b6e8fbf5e814ef6", "src": "https://github.com/ibhagwan/fzf-lua" }, "gitsigns": { @@ -67,7 +67,7 @@ "src": "https://github.com/nvim-lualine/lualine.nvim" }, "mason-lspconfig.nvim": { - "rev": "0b9bb925c000ae649ff7e7149c8cd00031f4b539", + "rev": "bf9e7205192015dc48727744f21e09ac986664f9", "src": "https://github.com/williamboman/mason-lspconfig.nvim" }, "mason-tool-installer.nvim": { @@ -79,7 +79,7 @@ "src": "https://github.com/williamboman/mason.nvim" }, "mini": { - "rev": "dca98843fab66d080779cd973e7139e258ff164c", + "rev": "b7231b65d15611a99168bc5a94a84cb8e4c85c21", "src": "https://github.com/nvim-mini/mini.nvim", "version": "'main'" }, @@ -92,20 +92,20 @@ "src": "https://github.com/echasnovski/mini.indentscope" }, "nvim-lint": { - "rev": "ebe535956106c60405b02220246e135910f6853d", + "rev": "7a64f4067065c16a355d40d0d599b8ca6b25de6d", "src": "https://github.com/mfussenegger/nvim-lint" }, "nvim-lspconfig": { - "rev": "9c923997123ff9071198ea3b594d4c1931fab169", + "rev": "c4f67bf85b01a57e3c130352c0a0e453ab8cd5b9", "src": "https://github.com/neovim/nvim-lspconfig" }, "nvim-treesitter": { - "rev": "d72fa25b545da316cae7e596263656eac7afc2af", + "rev": "4fc09bee78e91bf4ba471cdab4bf9dfa37fde51c", "src": "https://github.com/nvim-treesitter/nvim-treesitter", "version": "'main'" }, "nvim-treesitter-context": { - "rev": "37c952e2c83d97b62fdbcfd3c30996284275ac81", + "rev": "64dd4cf3f6fd0ab17622c5ce15c91fc539c3f24a", "src": "https://github.com/nvim-treesitter/nvim-treesitter-context" }, "nvim-web-devicons": { diff --git a/nvim/.config/nvim/spell/en.utf-8.add b/nvim/.config/nvim/spell/en.utf-8.add new file mode 100644 index 0000000..8bb626b --- /dev/null +++ b/nvim/.config/nvim/spell/en.utf-8.add @@ -0,0 +1,7 @@ +inlining +parallelization +callee +liveness +iteratively +inlined +dereferenced diff --git a/nvim/.config/nvim/spell/en.utf-8.add.spl b/nvim/.config/nvim/spell/en.utf-8.add.spl new file mode 100644 index 0000000..4dd9cf9 Binary files /dev/null and b/nvim/.config/nvim/spell/en.utf-8.add.spl differ -- cgit v1.2.3