mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-06-08 06:08:24 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1443924f9b | |||
| 82ffdf6ef4 |
@@ -3,6 +3,7 @@ local cmp_cap = require("config.cmp").capabilities
|
|||||||
local servers = {
|
local servers = {
|
||||||
"zls",
|
"zls",
|
||||||
"ts_ls",
|
"ts_ls",
|
||||||
|
"eslint",
|
||||||
"yamlls",
|
"yamlls",
|
||||||
"vimls",
|
"vimls",
|
||||||
"ruff",
|
"ruff",
|
||||||
@@ -49,3 +50,11 @@ vim.lsp.config("rust_analyzer", {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.lsp.config("eslint", {
|
||||||
|
settings = {
|
||||||
|
experimental = {
|
||||||
|
useFlatConfig = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|||||||
@@ -1 +1,9 @@
|
|||||||
let g:neoformat_enabled_yaml = ['prettierd']
|
let g:neoformat_enabled_yaml = ['prettierd']
|
||||||
|
|
||||||
|
let g:neoformat_ps1_psscriptanalyzer = {
|
||||||
|
\ 'exe': 'pwsh',
|
||||||
|
\ 'args': ['-NoProfile', '-Command',
|
||||||
|
\ '"Import-Module (Resolve-Path \"/opt/powershell-editor-services/PSScriptAnalyzer/*/PSScriptAnalyzer.psd1\" | Select-Object -ExpandProperty Path); Invoke-Formatter -ScriptDefinition (\$input | Out-String)"'],
|
||||||
|
\ 'stdin': 1,
|
||||||
|
\ }
|
||||||
|
let g:neoformat_enabled_ps1 = ['psscriptanalyzer']
|
||||||
|
|||||||
Reference in New Issue
Block a user