small config and plugin changes
This commit is contained in:
parent
523fedae4e
commit
e317dca789
8 changed files with 60 additions and 36 deletions
|
@ -17,6 +17,7 @@ return {
|
|||
opts = {
|
||||
-- Define your formatters
|
||||
formatters_by_ft = {
|
||||
xml = { "xmlformatter" },
|
||||
lua = { "stylua" },
|
||||
python = { "isort", "black" },
|
||||
javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||
|
|
|
@ -6,7 +6,7 @@ return {
|
|||
"tpope/vim-characterize",
|
||||
"tpope/vim-commentary",
|
||||
|
||||
{ "chrisgrieser/nvim-genghis", dependencies = "stevearc/dressing.nvim" },
|
||||
{ "chrisgrieser/nvim-genghis", dependencies = "stevearc/dressing.nvim", opts = { trashCmd = "rm" } },
|
||||
|
||||
-- ic / ac
|
||||
{
|
||||
|
@ -21,13 +21,6 @@ return {
|
|||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
},
|
||||
|
||||
{
|
||||
"ray-x/lsp_signature.nvim",
|
||||
config = function()
|
||||
require("lsp_signature").setup({})
|
||||
end,
|
||||
},
|
||||
"kyazdani42/nvim-web-devicons",
|
||||
"folke/trouble.nvim",
|
||||
"folke/lsp-colors.nvim",
|
||||
|
|
|
@ -1,7 +1,31 @@
|
|||
return {
|
||||
"euclio/vim-markdown-composer",
|
||||
build = "cargo build --release",
|
||||
enabled = function()
|
||||
return vim.fn.executable("cargo")
|
||||
end,
|
||||
{
|
||||
"euclio/vim-markdown-composer",
|
||||
build = "cargo build --release",
|
||||
enabled = function()
|
||||
return vim.fn.executable("cargo")
|
||||
end,
|
||||
|
||||
},
|
||||
{
|
||||
'SCJangra/table-nvim',
|
||||
ft = 'markdown',
|
||||
opts = {
|
||||
mappings = {
|
||||
next = '<TAB>', -- Go to next cell.
|
||||
prev = '<S-TAB>', -- Go to previous cell.
|
||||
insert_row_up = '<A-t>k', -- Insert a row above the current row.
|
||||
insert_row_down = '<A-t>j', -- Insert a row below the current row.
|
||||
move_row_up = '<A-t>K', -- Move the current row up.
|
||||
move_row_down = '<A-t>J', -- Move the current row down.
|
||||
insert_column_left = '<A-t>h', -- Insert a column to the left of current column.
|
||||
insert_column_right = '<A-t>l', -- Insert a column to the right of current column.
|
||||
move_column_left = '<A-t>H', -- Move the current column to the left.
|
||||
move_column_right = '<A-t>L', -- Move the current column to the right.
|
||||
insert_table = '<A-t>t', -- Insert a new table.
|
||||
insert_table_alt = '<A-t>T', -- Insert a new table that is not surrounded by pipes.
|
||||
delete_column = '<A-t>d', -- Delete the column under cursor.
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ return {
|
|||
|
||||
local wincount = #vim.tbl_filter(function(i)
|
||||
return i == "leaf"
|
||||
end, vim.tbl_flatten(vim.fn.winlayout(context.tabnr)))
|
||||
end, vim.iter(vim.fn.winlayout(context.tabnr)):flatten():totable())
|
||||
|
||||
return name
|
||||
.. (wincount > 1 and " +" .. (wincount - 1) or "")
|
||||
|
|
|
@ -14,7 +14,7 @@ return {
|
|||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
main = "ibl",
|
||||
tag = "v3.5.4",
|
||||
--tag = "v3.5.4",
|
||||
opts = {
|
||||
whitespace = { highlight = { "Whitespace", "CursorLine" }, remove_blankline_trail = false },
|
||||
indent = { highlight = { "Whitespace", "CursorLine" }, char = "" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue