diff --git a/.gitignore b/.gitignore index 9fc6312..d42ab35 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ out/* -.nvimrc -.spell* diff --git a/.nvim.lua b/.nvim.lua new file mode 100755 index 0000000..43d2ca3 --- /dev/null +++ b/.nvim.lua @@ -0,0 +1,14 @@ +vim.notify("Local nvim config loaded", vim.log.levels.INFO) + +------------------------------------------------------------- +-- Set spell info, but only for files inside the current dir +------------------------------------------------------------ +local project_root = vim.fn.getcwd() +vim.api.nvim_create_autocmd("BufEnter", { + pattern = project_root .. "/*", + callback = function() + vim.opt_local.spell = true + vim.opt_local.spelllang = "en" + vim.opt_local.spellfile = project_root .. "/.spell.add" + end, +}) diff --git a/.spell.add b/.spell.add new file mode 100755 index 0000000..1df2e88 --- /dev/null +++ b/.spell.add @@ -0,0 +1,12 @@ +Tissemand +Garg +WYRDS +Targ +Farg +golem +Cowlbear +Gooblin +Halvbitter +Mandag +badass +Djinn diff --git a/rules.adoc b/rules.adoc index 5085848..f4af75a 100755 --- a/rules.adoc +++ b/rules.adoc @@ -926,7 +926,7 @@ This chapter is not for * Map ** The world should be weird and funny, but not ridiculous. ** ShipWorld: the world, when seen from above, looks like the outline of a - ship, that's seen from above. But instead of being made of wooden planks, + ship, that's also seen from above. But instead of being made of wooden planks, there is real terrain and flora. But there should/could be elevation changes where the different decks (such as the Poop Deck) are. *** What's around the ship? @@ -983,3 +983,5 @@ This chapter is not for ** Halvbitter: more badass than Djinn ** Gooblin ** Cowlbear (a bear in a cowl?) + +