Skip to content
Snippets Groups Projects
Commit 61dfaf1d authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Merged coc-settings from nvim and vim

parent 6742fc08
No related branches found
No related tags found
No related merge requests found
{
// Python disable quickfix
"pyright": {
"disableDiagnostics": true
"languageserver": {
"clangd": {
"command": "clangd",
"args": ["--background-index"],
"rootPatterns": ["compile_flags.txt", "compile_commands.json", ".git/", ".hg/"],
"filetypes": ["c", "cpp", "objc", "objcpp"]
},
// Markdownlint
"markdownlint.config": {
"default": true,
"line-length": {
"line_length": 120,
"code_block_line_length": 120
"ccls": {
"command": "ccls",
"filetypes": ["c", "cpp", "cuda", "objc", "objcpp"],
"rootPatterns": [".ccls-root", "compile_commands.json"],
"initializationOptions": {
"cache": {
"directory": ".ccls-cache"
},
"client": {
"snippetSupport": true
}
}
}
},
// diagnostic-languageserver
"diagnostic-languageserver.enable": true,
"diagnostic-languageserver.mergeConfig": false,
"diagnostic-languageserver.filetypes": {
"vim": "vint",
"email": "languagetool",
"markdown": [ "languagetool", "write-good", "proselint"],
"text": [ "write-good", "proselint", "alex" ],
"sh": "shellcheck",
"toml": [ "languagetool", "write-good", "proselint"],
"yaml": [ "yamllint" ],
"systemd": "systemd-analyze"
},
"diagnostic-languageserver.formatFiletypes": {
"lua": "lua-format",
"sh": "shfmt"
},
"diagnostic-languageserver.linters": {
"proselint": {
"command": "proselint",
"isStdout": true,
"isStderr": false,
"debounce": 100,
"args": ["-"],
"offsetLine": 0,
"offsetColumn": 0,
"sourceName": "proselint",
"formatLines": 1,
"formatPattern": [
"^[^:]+:(\\d+):(\\d+):(\\s)(.*)$",
{
"line": 1,
"column": 2,
"security": 3,
"message": 4
}
],
"securities": {
" ": "info"
}
},
"alex": {
"command": "alexjs",
"debounce": 200,
"isStderr": true,
"args": ["--stdin"],
"offsetLine": 0,
"offsetColumn": 0,
"sourceName": "alex.js",
"formatLines": 1,
"formatPattern": [
"^\\s*(\\d+):(\\d+)-(\\d+):(\\d+)\\s{2}([a-z]+)\\s{2}(.*?)\\s{2,}([a-z-]+)\\s{2,}([a-z-]+)$",
{
"line": 1,
"column": 2,
"endLine": 3,
"endColumn": 4,
"security" : 5,
"message": 6
}
],
"securities" : {
"warning": "warning",
"error": "error"
}
},
"write-good": {
"command": "write-good",
"debounce": 100,
"args": [ "--no-passive", "--text=%text" ],
"offsetLine": 0,
"offsetColumn": 1,
"sourceName": "write-good",
"formatLines": 1,
"formatPattern": [
"(.*)\\s+on\\s+line\\s+(\\d+)\\s+at\\s+column\\s+(\\d+)\\s*$",
{
"line": 2,
"column": 3,
"message": 1
}
]
},
"languagetool": {
"command": "languagetool",
"debounce": 200,
......@@ -34,33 +122,24 @@
}
},
"diagnostic-languageserver.filetypes": {
"vim": "vint",
"email": "languagetool",
"markdown": [ "languagetool", "write-good", "proselint"],
"toml": [ "languagetool", "write-good", "proselint"],
"yaml": [ "yamllint" ],
"systemd": "systemd-analyze"
// Python disable quickfix
"pyright": {
"disableDiagnostics": true
},
// Markdownlint
"markdownlint.config": {
"default": true,
"line-length": {
"line_length": 120,
"code_block_line_length": 120
}
},
"ltex.language": "en-GB",
"ltex.disabledRules": { "en-GB": ["DOUBLE_PUNCTUATION", "MORFOLOGIK_RULE_EN_GB", "ARROWS[1]", "NON_STANDARD_WORD[1]"]},
"rust-analyzer.experimental.procAttrMacros": true,
"rust-analyzer.diagnostics.disabled": ["incorrect-ident-case"],
"languageserver": {
"ccls": {
"command": "ccls",
"filetypes": ["c", "cpp", "cuda", "objc", "objcpp"],
"rootPatterns": [".ccls-root", "compile_commands.json"],
"initializationOptions": {
"cache": {
"directory": ".ccls-cache"
},
"client": {
"snippetSupport": true
}
}
}
},
// coc-spell-checker
"cSpell.enabled": true,
"cSpell.language": "en-GB,sv",
......@@ -86,6 +165,7 @@
"ADDRE",
"ALGO",
"ARTCSP",
"ASIC",
"ASYNCH",
"ATSAMD's",
"ATSAME",
......@@ -125,6 +205,9 @@
"CFBS",
"CFDPRESC",
"CHECKNUM",
"CHENCLR",
"CHIDX",
"CITI",
"CKSEL",
"CLRRAM",
"CMAC",
......@@ -151,6 +234,7 @@
"Ctype",
"DEBOUNCEN",
"DIAG",
"DIRCLR",
"DMA",
"DPLLCTRLA",
"DPLLCTRLB",
......@@ -158,6 +242,7 @@
"DRNGSEED",
"DSCR",
"DSU",
"DUT's",
"DWT",
"Damiano",
"Danaux",
......@@ -179,8 +264,11 @@
"ELFs",
"EVCTRL",
"EVSYS",
"EVTENCLR",
"EVTENSET",
"EXPINPUKCCRAM",
"EXPMOD",
"EXTI",
"EXTI1",
"EXTI2",
"EXTI3",
......@@ -208,6 +296,11 @@
"GHASH",
"GND",
"GPIO",
"GPIOA",
"GPIOB",
"GPIOC",
"GPIOI",
"GPIOTE",
"GPIOs",
"Gatewaying",
"Gclk",
......@@ -218,6 +311,7 @@
"Gränssnitt",
"HOTP",
"HW",
"Haltium",
"HashMap",
"HashSet",
"Hokuyo",
......@@ -244,6 +338,7 @@
"LF",
"LFREQ",
"LIDAR",
"LILIUM",
"LLVM",
"LLVM's",
"LP2",
......@@ -251,6 +346,7 @@
"LPA",
"LSEE",
"LTU",
"LXML",
"Labbhandledare",
"Laboratiorievägen",
"Laboratoriegränd",
......@@ -262,7 +358,9 @@
"MCLK",
"MCU",
"MCUs",
"MISO",
"MMIO",
"MOSI",
"MSRV",
"Macrocell",
"Maskable",
......@@ -275,6 +373,8 @@
"Mthd",
"Munns",
"Mutex",
"NMIENCLR",
"NMIENSET",
"NMIFLAG",
"NVIC",
"NVM",
......@@ -291,6 +391,7 @@
"OOM",
"OSCCTRL",
"OSX",
"OUTCLR",
"Olimex",
"OpenOCD",
"PA04",
......@@ -303,6 +404,7 @@
"PRIMASK",
"PROGE",
"PRs",
"PSEL",
"PUBKEY",
"PUKCCSR",
"PWD",
......@@ -331,6 +433,7 @@
"READMEs",
"REDMOD",
"REFCLK",
"REGIONENCLR",
"RM0368",
"RNEXT",
"RPi",
......@@ -395,6 +498,7 @@
"Segway",
"Selectnumber",
"Semestertillägg",
"Sheliak",
"Shimano",
"Sidfc",
"Simulink",
......@@ -405,6 +509,7 @@
"Speciellt",
"Standardvärde",
"Stationsgatan",
"Stdio",
"Styckeindelningen",
"Subservice",
"Swatinem",
......@@ -424,6 +529,7 @@
"UARTs",
"UDEV",
"UI",
"UNINNIT",
"URAD",
"URAT",
"USART2",
......@@ -461,6 +567,7 @@
"WWDG",
"Wahlquist",
"Winsa",
"XCVU",
"XORed",
"XOUT",
"Xargo",
......@@ -492,6 +599,7 @@
"ascd",
"async",
"atsamd",
"attrib",
"automaticswitch",
"autorun",
"autows",
......@@ -619,6 +727,9 @@
"dpll",
"dpllstatus",
"dpllsyncbusy",
"dppi",
"dppic",
"dppics",
"dprescaler",
"driftsättas",
"dualbuff",
......@@ -697,8 +808,10 @@
"hashkey",
"hashless",
"heapless",
"hetj",
"hibcfg",
"hprintln",
"hspi",
"husmodellerare",
"hwinfo",
"hyphenatable",
......@@ -845,6 +958,7 @@
"plugin",
"pointsharp",
"popd",
"ppib",
"precalculated",
"precompiled",
"prediv",
......@@ -936,6 +1050,7 @@
"sleepdeep",
"slutdatum",
"smetadata",
"snvm",
"socmem",
"socmodtest",
"spawnee",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment