Various Plugins and Settings
This commit is contained in:
@ -14,8 +14,9 @@ null_ls.setup({
|
||||
sources = {
|
||||
null_ls.builtins.completion.spell,
|
||||
null_ls.builtins.diagnostics.codespell,
|
||||
null_ls.builtins.diagnostics.markdownlint.with({ extra_args = { "--disable MD013" }}),
|
||||
null_ls.builtins.diagnostics.pycodestyle,
|
||||
null_ls.builtins.diagnostics.markdownlint.with({ extra_args = { "--disable", "MD013", "--" }
|
||||
,}),
|
||||
null_ls.builtins.diagnostics.pycodestyle.with({ extra_args = { "--max-line-length=150" }}),
|
||||
null_ls.builtins.formatting.black.with({ extra_args = { "--fast" }}),
|
||||
},
|
||||
})
|
||||
|
||||
@ -1,44 +1,20 @@
|
||||
local g = vim.g
|
||||
|
||||
--local fb_actions = require "telescope".extensions.file_browser.actions
|
||||
local fb_actions = require "telescope".extensions.file_browser.actions
|
||||
|
||||
local telescope_installer = require('telescope').setup({
|
||||
defaults = {
|
||||
-- Default configuration for telescope goes here:
|
||||
previewer = true,
|
||||
file_previewer = require'telescope.previewers'.vim_buffer_cat.new,
|
||||
-- config_key = value,
|
||||
mappings = {
|
||||
i = {
|
||||
["<C-h>"] = "which_key"
|
||||
-- map actions.which_key to <C-h> (default: <C-/>)
|
||||
-- actions.which_key shows the mappings for your picker,
|
||||
-- e.g. git_{create, delete, ...}_branch for the git_branches picker
|
||||
}
|
||||
}
|
||||
},
|
||||
pickers = {
|
||||
find_files = {
|
||||
theme = "dropdown",
|
||||
}
|
||||
},
|
||||
extensions = {
|
||||
--[[ file_browser = {
|
||||
theme = "dropdown",
|
||||
-- disables netrw and use telescope-file-browser in its place
|
||||
hijack_netrw = true,
|
||||
file_browser = {
|
||||
mappings = {
|
||||
["i"] = {
|
||||
|
||||
["<C-c>"] = fb_actions.create
|
||||
},
|
||||
["n"] = {
|
||||
|
||||
|
||||
},
|
||||
},
|
||||
},
|
||||
--]]
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
require("telescope").load_extension "file_browser"
|
||||
|
||||
@ -11,7 +11,7 @@ require('todo-comments').setup {
|
||||
DONE = { icon = " ", color = "info" },
|
||||
FEAT = { icon = " ", color = "warning", alt = { "NEED", "REQUEST" } },
|
||||
WARN = { icon = " ", color = "error", alt = { "WARNING", "ERROR" } },
|
||||
TASK = { icon = " ", color = "hint", alt = { "TODO", "TBD" } },
|
||||
TODO = { icon = " ", color = "test", alt = { "TASK", "TBD" } },
|
||||
NOTE = { icon = " ", color = "hint", alt = { "INFO" } },
|
||||
SENG = { icon = " ", color = "test", alt = { "SOLUTIONS", "SE", "WORKAROUND" } },
|
||||
},
|
||||
@ -20,10 +20,10 @@ require('todo-comments').setup {
|
||||
},
|
||||
colors = {
|
||||
error = { "DiagnosticError", "ErrorMsg", "#DC2626" },
|
||||
warning = { "DiagnosticWarning", "WarningMsg", "#FBBF24" },
|
||||
info = { "DiagnosticInfo", "#2563EB" },
|
||||
hint = { "DiagnosticHint", "#10B981" },
|
||||
default = { "Identifier", "#7C3AED" },
|
||||
warning = { "DiagnosticWarning", "WarningMsg", "#ffba08" },
|
||||
info = { "DiagnosticInfo", "#05eb42" },
|
||||
hint = { "DiagnosticHint", "#ff12d7" },
|
||||
default = { "Identifier", "#711fff" },
|
||||
test = { "Identifier", "#FF00FF" }
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user