waybar, swaylock, swayfx, and nvim plugins
This commit is contained in:
11
.config/nvim/lua/plugins/auto-save.lua
Normal file
11
.config/nvim/lua/plugins/auto-save.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return{
|
||||
"okuuva/auto-save.nvim",
|
||||
version = '^1.0.0', -- see https://devhints.io/semver, alternatively use '*' to use the latest tagged release
|
||||
cmd = "ASToggle", -- optional for lazy loading on command
|
||||
event = { "InsertLeave", "TextChanged" }, -- optional for lazy loading on trigger events
|
||||
opts = {
|
||||
-- your config goes here
|
||||
-- or just leave it empty :)
|
||||
enabled = false
|
||||
},
|
||||
}
|
||||
19
.config/nvim/lua/plugins/conform.lua
Normal file
19
.config/nvim/lua/plugins/conform.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
return {
|
||||
'stevearc/conform.nvim',
|
||||
opts = {},
|
||||
config = function ()
|
||||
require("conform").setup({
|
||||
formatters_by_ft = {
|
||||
tex = { "latexindent" },
|
||||
--lua = { "stylua" },
|
||||
-- Conform will run multiple formatters sequentially
|
||||
--python = { "isort", "black" },
|
||||
-- You can customize some of the format options for the filetype (:help conform.format)
|
||||
--rust = { "rustfmt", lsp_format = "fallback" },
|
||||
-- Conform will run the first available formatter
|
||||
--javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||
},
|
||||
})
|
||||
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user