init
This commit is contained in:
22
lua/plugins/configs/null-ls.lua
Normal file
22
lua/plugins/configs/null-ls.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
--
|
||||
-- ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗
|
||||
-- ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║
|
||||
-- ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║
|
||||
-- ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║
|
||||
-- ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
|
||||
-- ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝
|
||||
--
|
||||
-- File: plugins/configs/null-ls.lua
|
||||
-- Description: null-ls configuration
|
||||
-- Author: Kien Nguyen-Tuan <kiennt2609@gmail.com>
|
||||
local null_ls = require "null-ls"
|
||||
|
||||
-- Load custom configurations
|
||||
local exist, custom = pcall(require, "custom")
|
||||
local sources = exist and type(custom) == "table" and custom.setup_sources and custom.setup_sources(null_ls.builtins)
|
||||
or {}
|
||||
|
||||
null_ls.setup {
|
||||
debug = false,
|
||||
sources = sources,
|
||||
}
|
||||
Reference in New Issue
Block a user