minor changes

This commit is contained in:
Kristofers Solo
2024-03-27 11:11:29 +02:00
parent 92bdef8100
commit 68e43e9296
8 changed files with 74 additions and 64 deletions

View File

@@ -85,7 +85,7 @@ return {
{ name = "buffer", keyword_length = 4 },
{ name = "neorg" },
{ name = "pypi" },
{ name = "dadbod" },
{ name = "vim-dadbod-completion" },
{ name = "env" },
{ name = "calc" },
{ name = "emoji" },
@@ -119,7 +119,7 @@ return {
neorg = "[neorg]",
crates = "[crates]",
pypi = "[pypi]",
dadbod = "[dadbod]",
vim_dadbod_completion = "[DB]",
env = "[env]",
buffer = "[buf]",
})[entry.source.name]

View File

@@ -26,4 +26,5 @@ return {
{ "savq/melange-nvim" },
{ "ellisonleao/gruvbox.nvim" },
{ "bluz71/vim-nightfly-colors", name = "nightfly" },
{ "rose-pine/neovim" },
}

View File

@@ -2,8 +2,8 @@ return {
"kristijanhusak/vim-dadbod-ui",
dependencies = {
{ "tpope/vim-dotenv" },
{ "tpope/vim-dadbod" },
{ "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql" } },
{ "tpope/vim-dadbod", lazy = true },
{ "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql" }, lazy = true },
},
cmd = {
"DBUI",

View File

@@ -1,12 +0,0 @@
local M = {}
M.setup = function(lsp, capabilities)
lsp.rust.setup({
capabilities = capabilities,
hint = {
enable = true,
},
})
end
return M

View File

@@ -1,15 +1,32 @@
return {
{
"nvim-lualine/lualine.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
"arkav/lualine-lsp-progress",
},
opts = {
options = {
component_separators = { left = "|", right = "|" },
"nvim-lualine/lualine.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
"arkav/lualine-lsp-progress",
{ "letieu/harpoon-lualine", dependencies = {
"ThePrimeagen/harpoon",
} },
},
opts = {
options = {
icons_enabled = true,
theme = "auto",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {
statusline = {},
winbar = {},
},
--[[ Available components
ignore_focus = {},
always_divide_middle = false,
globalstatus = true,
refresh = {
statusline = 1000,
tabline = 1000,
winbar = 1000,
},
},
--[[ Available components
`branch` (git branch)
`buffers` (shows currently available buffers)
`diagnostics` (diagnostics count from your preferred source)
@@ -27,23 +44,25 @@ return {
`selectioncount` (number of selected characters or lines)
`tabs` (shows currently available tabs)
`windows` (shows currently available windows) ]]
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff" },
lualine_c = { "filename", "harpoon2", "lsp_progress" },
lualine_x = { "diagnostics", "encoding", "filetype", "filesize" },
lualine_y = { "progress" },
lualine_z = { "location" },
},
extentions = { "fzf", "fugitive", "lazy", "mason", "man", "oil", "nvim-dap-ui", "trouble" },
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff" },
lualine_c = { "filename", "harpoon2", "lsp_progress" },
lualine_x = { "diagnostics", "encoding", "filetype", "filesize" },
lualine_y = { "progress" },
lualine_z = { "location" },
},
},
{
"letieu/harpoon-lualine",
dependencies = {
{
"ThePrimeagen/harpoon",
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = { "filename" },
lualine_x = { "location" },
lualine_y = {},
lualine_z = {},
},
tabline = {},
winbar = {},
inactive_winbar = {},
extentions = { "fzf", "fugitive", "lazy", "mason", "man", "oil", "nvim-dap-ui", "trouble" },
},
}

View File

@@ -1,6 +1,7 @@
return {
"luckasRanarison/tailwind-tools.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
ft = { "html" },
opts = {
document_color = {
enabled = true, -- can be toggled by commands

View File

@@ -1,6 +1,6 @@
return {
"nvim-telescope/telescope.nvim",
tag = "0.1.5",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim",
{ "nvim-tree/nvim-web-devicons" },
@@ -157,10 +157,10 @@ return {
["<C-k>"] = require("telescope.actions").move_selection_previous,
["<C-D>"] = require("telescope.actions").delete_buffer
+ require("telescope.actions").move_to_top,
["<c-t>"] = require("trouble").open_with_trouble,
["<C-t>"] = require("trouble").open_with_trouble,
-- ["<C-Y>"] = require("telescope.actions").remove_selection
},
n = { ["<c-t>"] = require("trouble").open_with_trouble },
n = { ["<C-t>"] = require("trouble").open_with_trouble },
},
},
pickers = {