feat: cspell
This commit is contained in:
parent
4bfb39383b
commit
eb9436a6f9
|
|
@ -21,38 +21,7 @@ return {
|
||||||
text = { 'cspell' },
|
text = { 'cspell' },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- To allow other plugins to add linters to require('lint').linters_by_ft,
|
|
||||||
-- instead set linters_by_ft like this:
|
|
||||||
-- lint.linters_by_ft = lint.linters_by_ft or {}
|
|
||||||
-- lint.linters_by_ft['markdown'] = { 'markdownlint' }
|
|
||||||
--
|
--
|
||||||
-- However, note that this will enable a set of default linters,
|
|
||||||
-- which will cause errors unless these tools are available:
|
|
||||||
-- {
|
|
||||||
-- clojure = { "clj-kondo" },
|
|
||||||
-- dockerfile = { "hadolint" },
|
|
||||||
-- inko = { "inko" },
|
|
||||||
-- janet = { "janet" },
|
|
||||||
-- json = { "jsonlint" },
|
|
||||||
-- markdown = { "vale" },
|
|
||||||
-- rst = { "vale" },
|
|
||||||
-- ruby = { "ruby" },
|
|
||||||
-- terraform = { "tflint" },
|
|
||||||
-- text = { "vale" }
|
|
||||||
-- }
|
|
||||||
--
|
|
||||||
-- You can disable the default linters by setting their filetypes to nil:
|
|
||||||
-- lint.linters_by_ft['clojure'] = nil
|
|
||||||
-- lint.linters_by_ft['dockerfile'] = nil
|
|
||||||
-- lint.linters_by_ft['inko'] = nil
|
|
||||||
-- lint.linters_by_ft['janet'] = nil
|
|
||||||
-- lint.linters_by_ft['json'] = nil
|
|
||||||
-- lint.linters_by_ft['markdown'] = nil
|
|
||||||
-- lint.linters_by_ft['rst'] = nil
|
|
||||||
-- lint.linters_by_ft['ruby'] = nil
|
|
||||||
-- lint.linters_by_ft['terraform'] = nil
|
|
||||||
-- lint.linters_by_ft['text'] = nil
|
|
||||||
|
|
||||||
-- Create autocommand which carries out the actual linting
|
-- Create autocommand which carries out the actual linting
|
||||||
-- on the specified events.
|
-- on the specified events.
|
||||||
local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true })
|
local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true })
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
|
||||||
|
"version": "0.2",
|
||||||
|
"language": "en",
|
||||||
|
"globRoot": ".",
|
||||||
|
"dictionaryDefinitions": [
|
||||||
|
{
|
||||||
|
"name": "ralvescosta",
|
||||||
|
"path": "~/.config/nvim/spell/en.utf-8.add",
|
||||||
|
"addWords": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dictionaries": ["ralvescosta"],
|
||||||
|
"ignorePaths": [
|
||||||
|
"node_modules",
|
||||||
|
"dist",
|
||||||
|
"build",
|
||||||
|
"cspell-tool.txt",
|
||||||
|
"target",
|
||||||
|
"public"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -236,18 +236,16 @@ cybersourcesdk
|
||||||
CybersourceSDK
|
CybersourceSDK
|
||||||
Cybersource
|
Cybersource
|
||||||
logrus
|
logrus
|
||||||
logrus
|
|
||||||
http
|
http
|
||||||
iso
|
iso
|
||||||
cybersource_sdk
|
cybersource_sdk
|
||||||
ecommerce
|
ecommerce
|
||||||
cybersourcesdk
|
cybersourcesdk
|
||||||
rabbitmq
|
rabbitmq
|
||||||
rabbitmq
|
|
||||||
rabbitmq
|
|
||||||
cfgs
|
|
||||||
cfgs
|
cfgs
|
||||||
rabbitmq
|
rabbitmq
|
||||||
new_amqp_channel
|
new_amqp_channel
|
||||||
AMQP_HEADERS_MAX_LENGTH_BYTES
|
AMQP_HEADERS_MAX_LENGTH_BYTES
|
||||||
AMQP
|
AMQP
|
||||||
|
nvim
|
||||||
|
mfussenegger
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue