mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
nvim added static from live home; vendored .git/tool-state dirs removed and ignore-gated against re-add. ttf-victor-mono-nerd (arch) and font-victor-mono-nerd-font cask (darwin) added to packages manifest. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
25 lines
919 B
Lua
25 lines
919 B
Lua
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
|
|
-- Customize None-ls sources
|
|
|
|
---@type LazySpec
|
|
return {
|
|
"nvimtools/none-ls.nvim",
|
|
opts = function(_, opts)
|
|
-- opts variable is the default configuration table for the setup function call
|
|
-- local null_ls = require "null-ls"
|
|
|
|
-- Check supported formatters and linters
|
|
-- https://github.com/nvimtools/none-ls.nvim/tree/main/lua/null-ls/builtins/formatting
|
|
-- https://github.com/nvimtools/none-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics
|
|
|
|
-- Only insert new sources, do not replace the existing ones
|
|
-- (If you wish to replace, use `opts.sources = {}` instead of the `list_insert_unique` function)
|
|
opts.sources = require("astrocore").list_insert_unique(opts.sources, {
|
|
-- Set a formatter
|
|
-- null_ls.builtins.formatting.stylua,
|
|
-- null_ls.builtins.formatting.prettier,
|
|
})
|
|
end,
|
|
}
|