feat: latest nvim setup
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
return {
|
||||
'KenN7/vim-arsync',
|
||||
dependencies = { 'prabirshrestha/async.vim' },
|
||||
config = function()
|
||||
end
|
||||
}
|
||||
|
||||
--[[
|
||||
--Create a .vim-arsync file on the root of your project that contains the following:
|
||||
remote_host example.com
|
||||
remote_user john
|
||||
remote_port 22
|
||||
remote_passwd secret
|
||||
remote_path ~/temp/
|
||||
local_path /home/ken/temp/vuetest/
|
||||
ignore_path ["build/","test/"]
|
||||
ignore_dotfiles 1
|
||||
auto_sync_up 0
|
||||
remote_or_local remote
|
||||
sleep_before_sync 0
|
||||
|
||||
--]]
|
||||
@@ -1,19 +0,0 @@
|
||||
return{
|
||||
"okuuva/auto-save.nvim",
|
||||
--version = '*', -- see https://devhints.io/semver, alternatively use '*' to use the latest tagged release
|
||||
cmd = "ASToggle", -- optional for lazy loading on command
|
||||
execution_message = {
|
||||
message = function() -- message to print on save
|
||||
return ("AutoSave: saved at " .. vim.fn.strftime("%H:%M:%S"))
|
||||
end,
|
||||
dim = 0.18, -- dim the color of `message`
|
||||
cleaning_interval = 1250, -- (milliseconds) automatically clean MsgArea after displaying `message`. See :h MsgArea
|
||||
},
|
||||
event = { "InsertLeave", "TextChanged" }, -- optional for lazy loading on trigger events
|
||||
opts = {
|
||||
-- your config goes here
|
||||
-- or just leave it empty :)
|
||||
enabled = false,
|
||||
debug = true,
|
||||
},
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
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
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
return {
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
|
||||
---@module 'render-markdown'
|
||||
---@type render.md.UserConfig
|
||||
opts = {
|
||||
completions = { lsp = { enabled = true } },
|
||||
render_modes = true,
|
||||
heading = {
|
||||
width = 'block',
|
||||
min_width = 80,
|
||||
},
|
||||
code = {
|
||||
disable_background = { 'diff' },
|
||||
},
|
||||
indent = {
|
||||
enabled = true,
|
||||
skip_heading = true,
|
||||
},
|
||||
sign = {
|
||||
enabled = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
return {
|
||||
"folke/zen-mode.nvim",
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
window = {
|
||||
width = 90, -- width of the Zen window
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user