diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-11 12:40:10 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-11 12:40:10 -0500 |
commit | 7f1fbfae2cb1a2f3c3c17bbb63d84dba33cc91e2 (patch) | |
tree | a756dab0463ec70294077d36dc588410f2c28523 /nvim/.config | |
parent | cf9a9b4738e10e6199ed33008eafe92de1041efc (diff) |
fix(nvim): add typos config for typos-lsp
Diffstat (limited to 'nvim/.config')
-rw-r--r-- | nvim/.config/cbfmt/cbfmt.toml | 7 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/lsp/configs.lua | 3 | ||||
-rw-r--r-- | nvim/.config/typos.toml | 2 |
3 files changed, 5 insertions, 7 deletions
diff --git a/nvim/.config/cbfmt/cbfmt.toml b/nvim/.config/cbfmt/cbfmt.toml deleted file mode 100644 index 38bcd7e..0000000 --- a/nvim/.config/cbfmt/cbfmt.toml +++ /dev/null @@ -1,7 +0,0 @@ -[languages] -go = ["gofmt"] -javascript = ["prettier --stdin"] -lua = ["stylua -s -"] -python = ["black --fast -"] -rust = ["rustfmt"] -sh = ["shfmt -"] diff --git a/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua b/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua index 3bb4de8..f0f02a0 100644 --- a/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua +++ b/nvim/.config/nvim/lua/tobyvin/lsp/configs.lua @@ -233,6 +233,9 @@ local M = { "markdown", "tex", }, + init_options = { + config = vim.fs.joinpath(vim.env.XDG_CONFIG_HOME, "typos.toml"), + }, }, -- check out [tinymist](https://github.com/Myriad-Dreamin/tinymist) as a possible alternative typst_lsp = { diff --git a/nvim/.config/typos.toml b/nvim/.config/typos.toml new file mode 100644 index 0000000..a95c7f2 --- /dev/null +++ b/nvim/.config/typos.toml @@ -0,0 +1,2 @@ +[type.eml.extend-words] +damon = "damon" |