From e6ef3988627808d4c4e2180ed1f18cd143b7e05a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@grepit.se>
Date: Mon, 27 Dec 2021 13:02:31 +0100
Subject: [PATCH] Add words to user dictionary, ignore vim config

---
 .config/nvim/coc-settings.json | 66 +++++++++++++++++++++++++++++++++-
 1 file changed, 65 insertions(+), 1 deletion(-)

diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json
index ae351a3..422ff82 100644
--- a/.config/nvim/coc-settings.json
+++ b/.config/nvim/coc-settings.json
@@ -63,11 +63,75 @@
   "cSpellExt.enableDictionaries": [
       "swedish"
   ],
+    // Specify paths/files to ignore.
+    "cSpell.ignorePaths": [
+        ".vim",        // this will ignore .vim
+        "nvim",        // this will ignore nvim
+        "**/.config/**",        // this will ignore nvim
+        "vscode-extension",    //
+        ".git",                // Ignore the .git directory
+        ".pijul",                // Ignore the .git directory
+        "*.dll",               // Ignore all .dll files.
+        "**/*.orig"             // Ignore all .dll files
+    ],
   "cSpell.userWords": [
     "ATSAMD's",
+    "CFDPRESC",
+    "Clks",
+    "Dplls",
+    "Gclk",
+    "IMULT",
+    "IPTAT",
+    "KCTRL",
+    "MCLK",
+    "NVMCTRL",
+    "OSCCTRL",
     "RTIC",
     "RTIC's",
+    "Trng",
+    "XOUT",
+    "ahbs",
+    "apbs",
     "atsamd",
-    "defmt"
+    "behavior",
+    "cfden",
+    "cstep",
+    "datasheet",
+    "defmt",
+    "dfll",
+    "dfllctrla",
+    "dfllctrlb",
+    "dfllmul",
+    "dfllsync",
+    "dfllval",
+    "dpll",
+    "enalc",
+    "fstep",
+    "gclkio",
+    "gclks",
+    "gpio",
+    "implementors",
+    "lowbufgain",
+    "mult",
+    "ondemand",
+    "osculp",
+    "overdriven",
+    "pclk",
+    "pclks",
+    "predivider",
+    "prescale",
+    "prescaler",
+    "rtcosc",
+    "runstdby",
+    "sercom",
+    "structs",
+    "swben",
+    "thumbv",
+    "typelevel",
+    "typenum",
+    "typestates",
+    "xosc",
+    "xoscctrl",
+    "xtalen"
   ]
 }
-- 
GitLab