Update lots of things
This commit is contained in:
parent
b3925cebad
commit
508883c3c2
17 changed files with 133 additions and 74 deletions
|
@ -48,8 +48,6 @@ local on_attach = function(client, bufnr)
|
|||
vim.cmd [[autocmd BufEnter,BufWrite <buffer> lua vim.lsp.codelens.refresh()]]
|
||||
vim.cmd [[autocmd CursorHoldI * silent! lua vim.lsp.buf.signature_help()]]
|
||||
vim.cmd [[autocmd CursorHold * lua vim.diagnostic.open_float({max_width = 100, focusable = false})]]
|
||||
|
||||
vim.lsp.codelens.refresh()
|
||||
end
|
||||
|
||||
require("lsp.installer")(on_attach)
|
||||
|
|
7
lua/plugins/beamer.lua
Normal file
7
lua/plugins/beamer.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
'uloco/bluloco.nvim',
|
||||
dependencies = { 'rktjmp/lush.nvim' },
|
||||
opts = {
|
||||
italics = true,
|
||||
},
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
return {
|
||||
--'crater2150/vim-theme-chroma-lush',
|
||||
'crater2150/vim-theme-chroma',
|
||||
lazy = false, priority = 1000,
|
||||
dev = true,
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function() vim.cmd.colorscheme("chroma") end
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@ return {
|
|||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-buffer",
|
||||
'hrsh7th/cmp-buffer',
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
'hrsh7th/cmp-path',
|
||||
'hrsh7th/cmp-cmdline',
|
||||
'hrsh7th/cmp-vsnip',
|
||||
|
@ -29,7 +28,7 @@ return {
|
|||
text = false,
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
config = function ()
|
||||
require("copilot_cmp").setup()
|
||||
|
|
3
lua/plugins/fugitive.lua
Normal file
3
lua/plugins/fugitive.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'tpope/vim-fugitive'
|
||||
}
|
|
@ -17,7 +17,7 @@ return {
|
|||
},
|
||||
-- ii / ai
|
||||
'michaeljsmith/vim-indent-object',
|
||||
'airblade/vim-gitgutter',
|
||||
{'lewis6991/gitsigns.nvim', config=true},
|
||||
|
||||
'neovim/nvim-lspconfig',
|
||||
|
||||
|
|
|
@ -9,12 +9,7 @@ return {
|
|||
"mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
'nvim-lua/lsp-status.nvim',
|
||||
{
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
cond = function()
|
||||
return require("lazy.core.config").plugins["nvim-cmp"] ~= nil
|
||||
end,
|
||||
},
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
},
|
||||
---@class PluginLspOpts
|
||||
opts = function() return {
|
||||
|
@ -162,6 +157,7 @@ return {
|
|||
nls.builtins.completion.vsnip,
|
||||
nls.builtins.diagnostics.zsh,
|
||||
nls.builtins.formatting.beautysh,
|
||||
nls.builtins.code_actions.gitsigns,
|
||||
},
|
||||
}
|
||||
end,
|
||||
|
|
4
lua/plugins/lush.lua
Normal file
4
lua/plugins/lush.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
'rktjmp/lush.nvim',
|
||||
'rktjmp/shipwright.nvim',
|
||||
}
|
|
@ -5,6 +5,7 @@ return {
|
|||
'mfussenegger/nvim-dap',
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
},
|
||||
ft = { 'scala', 'sbt' },
|
||||
config = function()
|
||||
local metals_config = require('metals').bare_config()
|
||||
metals_config.init_options.statusBarProvider = "on"
|
||||
|
|
|
@ -1,47 +1,14 @@
|
|||
local colors = {
|
||||
blue = '#00afff',
|
||||
lightblue = '#87afff',
|
||||
orange = '#ffaf5f',
|
||||
yellow = '#ffd75f',
|
||||
green = '#87d75f',
|
||||
red = '#ff0000',
|
||||
lightred = '#ff5f5f',
|
||||
white = '#ffffff',
|
||||
lightgray = '#c6c6c6',
|
||||
gray = '#6a6a6a',
|
||||
bggray = '#1c1c1c',
|
||||
lightbggray = '#262626',
|
||||
visualgray = '#303030',
|
||||
black = '#000000',
|
||||
normfg = '#ffffff',
|
||||
normbg = '#000000',
|
||||
}
|
||||
|
||||
return {
|
||||
'hoob3rt/lualine.nvim',
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = {
|
||||
{'kyazdani42/nvim-web-devicons', lazy = true },
|
||||
'nvim-lua/lsp-status.nvim',
|
||||
'crater2150/vim-theme-chroma',
|
||||
},
|
||||
opts = {
|
||||
event = "VeryLazy",
|
||||
opts = function(_, opts) return {
|
||||
options = {
|
||||
theme = {
|
||||
normal = {
|
||||
a = { fg = colors.black, bg = colors.gray },
|
||||
b = { fg = colors.yellow, bg = colors.lightbggray },
|
||||
c = { fg = colors.blue, bg = colors.bggray },
|
||||
z = { fg = colors.yellow, bg = colors.gray },
|
||||
},
|
||||
inactive = {
|
||||
a = { fg = colors.black, bg = colors.gray },
|
||||
b = { fg = colors.red, bg = colors.lightbggray },
|
||||
c = { fg = colors.gray, bg = colors.bggray },
|
||||
z = { fg = colors.blue, bg = colors.gray },
|
||||
},
|
||||
insert = { a = { fg = colors.black, bg = colors.green } },
|
||||
visual = { a = { fg = colors.black, bg = colors.yellow } },
|
||||
replace = { a = { fg = colors.black, bg = colors.red } },
|
||||
}
|
||||
theme = require('chroma-theme.lualine')
|
||||
},
|
||||
tabline = {
|
||||
lualine_a = { 'branch' },
|
||||
|
@ -54,7 +21,6 @@ return {
|
|||
sections = {
|
||||
lualine_a = { 'filename' },
|
||||
lualine_b = { 'diff', 'diagnostics' },
|
||||
lualine_c = {},
|
||||
lualine_x = { "require'lsp-status'.status()" },
|
||||
lualine_y = { 'filetype' },
|
||||
lualine_z = { 'searchcount', 'location' }
|
||||
|
@ -71,4 +37,5 @@ return {
|
|||
inactive_winbar = {},
|
||||
extensions = {}
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
|
|
@ -83,7 +83,11 @@ return {
|
|||
},
|
||||
{ 'nvim-treesitter/playground',
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
cmd = 'TSPlaygroundToggle'
|
||||
cmd = {
|
||||
'TSPlaygroundToggle',
|
||||
'TSHighlightCapturesUnderCursor',
|
||||
'TSNodeUnderCursor',
|
||||
}
|
||||
},
|
||||
{ "nvim-treesitter/nvim-treesitter-context",
|
||||
event = "VeryLazy",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue