Initial commit for astronvim v4 configuration

This commit is contained in:
Xavier Logerais
2024-05-17 19:55:13 +02:00
committed by Xavier Logerais
parent 73890a9ca5
commit dbe1a472b2
29 changed files with 938 additions and 0 deletions

22
lua/plugins/none-ls.lua Normal file
View File

@ -0,0 +1,22 @@
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(_, config)
-- config 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
config.sources = {
-- Set a formatter
-- null_ls.builtins.formatting.stylua,
-- null_ls.builtins.formatting.prettier,
}
return config -- return final config table
end,
}