mirror of
https://git.aramjonghu.nl/AramJonghu/nvim.git
synced 2026-06-07 21:58:24 +02:00
Compare commits
2 Commits
626a11d76f
...
1443924f9b
| Author | SHA1 | Date | |
|---|---|---|---|
| 1443924f9b | |||
| 82ffdf6ef4 |
@@ -3,6 +3,7 @@ local cmp_cap = require("config.cmp").capabilities
|
||||
local servers = {
|
||||
"zls",
|
||||
"ts_ls",
|
||||
"eslint",
|
||||
"yamlls",
|
||||
"vimls",
|
||||
"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_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