From 80fc14d063c1d71a48aa754c2a2fe1bc291335ef Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 13 May 2024 22:26:16 +0100 Subject: [PATCH] Configure spelling and a custom dictionary file --- .gitignore | 1 + lua/opdavies/options.lua | 1 + spell/en.utf-8.add | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 spell/en.utf-8.add diff --git a/.gitignore b/.gitignore index 3981e74..219e601 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ # Nix. /result +/spell/*.spl diff --git a/lua/opdavies/options.lua b/lua/opdavies/options.lua index 5339fb9..8a24cb7 100644 --- a/lua/opdavies/options.lua +++ b/lua/opdavies/options.lua @@ -26,6 +26,7 @@ local settings = { signcolumn = "yes:1", smartindent = true, softtabstop = 2, + spellfile = "/home/opdavies/Code/personal/opdavies.nvim/spell/en.utf-8.add", swapfile = false, syntax = "on", tabstop = 2, diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add new file mode 100644 index 0000000..21b1866 --- /dev/null +++ b/spell/en.utf-8.add @@ -0,0 +1,40 @@ +CMSes +Centarro +DDEV +Drupal +Drupal's +DrupalCamp +DrupalCon +Drupaler +Drush +InvalidArgumentException +Kickstart +Lando +NodeInterface +PDOException +PHPUnit +PostBuilder +PostNodeRepository +SQLSTATE +SQLite +Sculpin +TODO +TermInterface +Ubercart +assertContainsOnlyInstancesOf +assertSame +drupal +eCommerce +foreach +getPost +hotfix +isNotPublished +isPublished +nodeStorage +osCommerce +param +rebase +rebasing +src +worktree +worktrees