mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-04-26 04:15:38 +00:00
17 lines
225 B
Lua
17 lines
225 B
Lua
if vim.g.vscode then
|
|
return
|
|
end
|
|
|
|
local ok, nls = pcall(require, 'null-ls')
|
|
|
|
if not ok then
|
|
return
|
|
end
|
|
|
|
nls.setup({
|
|
sources = {
|
|
nls.builtins.formatting.stylua,
|
|
nls.builtins.diagnostics.credo,
|
|
},
|
|
})
|