generated from anishathalye/dotfiles_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
147 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
return { | ||
{ | ||
"jose-elias-alvarez/null-ls.nvim", | ||
after = "nvim-lspconfig", | ||
config = function() | ||
require("custom.plugins.null-ls").setup() | ||
end, | ||
}, | ||
|
||
{ "justinmk/vim-dirvish", event = "VimEnter" }, | ||
{ "tpope/vim-eunuch", event = "VimEnter" }, | ||
{ "wincent/scalpel", event = "BufRead" }, | ||
{ "blankname/vim-fish", event = "BufRead" }, | ||
{ | ||
"numToStr/FTerm.nvim", | ||
event = "BufRead", | ||
config = function() | ||
require("FTerm").setup { | ||
blend = 15, | ||
} | ||
end, | ||
}, | ||
{ "fedepujol/move.nvim" }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
local null_ls = require "null-ls" | ||
local b = null_ls.builtins | ||
|
||
local sources = { | ||
|
||
b.formatting.deno_fmt, | ||
b.formatting.prettier.with { filetypes = { "html", "markdown", "css", "json", "yaml" } }, | ||
b.formatting.taplo, | ||
-- Lua | ||
b.formatting.stylua, | ||
b.diagnostics.luacheck.with { extra_args = { "--global vim" } }, | ||
|
||
-- Shell | ||
b.formatting.shfmt.with { | ||
extra_args = { "-i", "4", "-ci" }, | ||
}, | ||
b.diagnostics.shellcheck.with { diagnostics_format = "#{m} [#{c}]" }, | ||
|
||
-- Python | ||
b.formatting.isort.with { | ||
extra_args = { "--stdout", "--profile", "black" }, | ||
}, | ||
b.formatting.black.with { | ||
extra_args = { "--quiet", "--fast", "-" }, | ||
}, | ||
b.formatting.cmake_format, | ||
} | ||
|
||
local M = {} | ||
|
||
M.setup = function() | ||
null_ls.setup { | ||
debug = false, | ||
sources = sources, | ||
} | ||
end | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters