diff options
| author | Brahmajit Das <listout@listout.xyz> | 2026-01-13 15:56:49 +0000 |
|---|---|---|
| committer | Brahmajit Das <listout@listout.xyz> | 2026-01-13 15:56:49 +0000 |
| commit | bc00af510751fe76e0dd0eb96d97bd5ecc432cce (patch) | |
| tree | 689939c84104a4bdda5e67c8082897a0decf31b3 /lua | |
| parent | 6324ee1804d03e5607fbcbd54dc20d3fcb18a6aa (diff) | |
| download | nvim-bc00af510751fe76e0dd0eb96d97bd5ecc432cce.tar.gz | |
lua: plugins: none_ls: make spell completion for specific files only
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Diffstat (limited to '')
| -rw-r--r-- | lua/plugins/none_ls.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/plugins/none_ls.lua b/lua/plugins/none_ls.lua index 469175f..aa3a280 100644 --- a/lua/plugins/none_ls.lua +++ b/lua/plugins/none_ls.lua @@ -8,7 +8,9 @@ return { null_ls.setup({ sources = { null_ls.builtins.formatting.black, - null_ls.builtins.completion.spell, + null_ls.builtins.completion.spell.with({ + filetypes = { "markdown", "text", "gitcommit" } + }), }, }) end, |
