chore(nvim): more spelling related settings

This commit is contained in:
Stefan Imhoff
2022-09-05 12:16:29 +02:00
parent 43306307e7
commit c9d9a58d91
4 changed files with 9 additions and 3 deletions

View File

@@ -66,6 +66,7 @@ vim.cmd([[
augroup _ft_json
autocmd!
autocmd FileType json syntax match Comment +\/\/.\+$+
autocmd Filetype json setlocal ts=2 sts=2 sw=2
augroup END
augroup _ft_ruby

View File

@@ -21,13 +21,12 @@ null_ls.setup({
code_actions.gitsigns,
code_actions.proselint,
completion.luasnip,
-- completion.spell,
completion.spell,
-- diagnostics.codespell,
diagnostics.eslint, -- Eslint
-- diagnostics.eslint_d, -- Eslint
diagnostics.flake8, -- Python
diagnostics.gitlint,
diagnostics.jsonlint,
diagnostics.markdownlint.with({ extra_args = { "--rules ~MD033" } }),
diagnostics.stylelint,
diagnostics.tsc,
@@ -37,7 +36,6 @@ null_ls.setup({
formatting.autopep8, -- Python
formatting.black.with({ extra_args = { "--fast" } }), -- Python
formatting.eslint_d,
formatting.json_tool,
formatting.markdownlint,
formatting.prettierd,
-- formatting.prettier.with({ extra_args = { "--single-quote" } }),

View File

@@ -26,3 +26,10 @@ GitHub
Django
WordPress
CMS
macOS
MacPorts
Homebrew
CSS
SCSS
PNG
API

Binary file not shown.