mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 01:26:46 +00:00
nvim
This commit is contained in:
@@ -216,5 +216,5 @@ vim.lsp.enable {
|
|||||||
'ty',
|
'ty',
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.o.background = "dark"
|
vim.o.background = 'dark'
|
||||||
vim.cmd([[colorscheme gruvbox-material]])
|
vim.cmd [[colorscheme gruvbox-material]]
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
return { "sainnhe/gruvbox-material", priority = 1000 , config = true}
|
|
||||||
@@ -1,96 +1,27 @@
|
|||||||
return {
|
return {
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
opts = {
|
opts = {
|
||||||
options = {
|
options = {
|
||||||
section_separators = { left = '', right = '' },
|
section_separators = { left = '', right = '' },
|
||||||
component_separators = { left = '|', right = '|' },
|
component_separators = { left = '|', right = '|' },
|
||||||
theme = vim.g.colors_name,
|
theme = vim.g.colors_name,
|
||||||
refresh = {
|
refresh = {
|
||||||
statusline = 1000,
|
statusline = 1000,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_c = {
|
lualine_c = {
|
||||||
{
|
{
|
||||||
'filename',
|
'filename',
|
||||||
path = 1,
|
path = 1,
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
lualine_x = {
|
||||||
|
{
|
||||||
|
'lsp_status',
|
||||||
|
icon = '',
|
||||||
},
|
},
|
||||||
lualine_x = {
|
},
|
||||||
{
|
},
|
||||||
'lsp_status',
|
},
|
||||||
icon = '', -- f013
|
|
||||||
symbols = {
|
|
||||||
-- Standard unicode symbols to cycle through for LSP progress:
|
|
||||||
-- spinner
|
|
||||||
-- =
|
|
||||||
-- {
|
|
||||||
-- '⠋',
|
|
||||||
-- '⠙',
|
|
||||||
-- '⠹',
|
|
||||||
-- '⠸',
|
|
||||||
-- '⠼',
|
|
||||||
-- '⠴',
|
|
||||||
-- '⠦',
|
|
||||||
-- '⠧',
|
|
||||||
-- '⠇',
|
|
||||||
-- '⠏'
|
|
||||||
-- },
|
|
||||||
-- --
|
|
||||||
-- Standard
|
|
||||||
-- unicode
|
|
||||||
-- symbol
|
|
||||||
-- for
|
|
||||||
-- when
|
|
||||||
-- LSP
|
|
||||||
-- is
|
|
||||||
-- done:
|
|
||||||
-- done
|
|
||||||
-- =
|
|
||||||
-- '✓',
|
|
||||||
-- --
|
|
||||||
-- Delimiter
|
|
||||||
-- inserted
|
|
||||||
-- between
|
|
||||||
-- LSP
|
|
||||||
-- names:
|
|
||||||
-- separator
|
|
||||||
-- =
|
|
||||||
-- '
|
|
||||||
-- ',
|
|
||||||
-- },
|
|
||||||
-- --
|
|
||||||
-- List
|
|
||||||
-- of
|
|
||||||
-- LSP
|
|
||||||
-- names
|
|
||||||
-- to
|
|
||||||
-- ignore
|
|
||||||
-- (e.g.,
|
|
||||||
-- `null-ls`):
|
|
||||||
-- ignore_lsp
|
|
||||||
-- =
|
|
||||||
-- {},
|
|
||||||
-- --
|
|
||||||
-- Display
|
|
||||||
-- the
|
|
||||||
-- LSP
|
|
||||||
-- name
|
|
||||||
-- show_name
|
|
||||||
-- =
|
|
||||||
-- true,
|
|
||||||
-- },
|
|
||||||
-- 'encoding',
|
|
||||||
-- 'fileformat',
|
|
||||||
-- 'filetype',
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ return {
|
|||||||
'mason-org/mason.nvim',
|
'mason-org/mason.nvim',
|
||||||
opts = {
|
opts = {
|
||||||
ui = {
|
ui = {
|
||||||
icons = {
|
icons = {
|
||||||
package_installed = "✓",
|
package_installed = '✓',
|
||||||
package_pending = "➜",
|
package_pending = '➜',
|
||||||
package_uninstalled = "✗"
|
package_uninstalled = '✗',
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,30 +14,30 @@ return {
|
|||||||
}
|
}
|
||||||
require('mini.pairs').setup()
|
require('mini.pairs').setup()
|
||||||
require('mini.icons').setup()
|
require('mini.icons').setup()
|
||||||
-- require('mini.statusline').setup({
|
-- require('mini.statusline').setup({
|
||||||
-- content = {
|
-- content = {
|
||||||
-- active = function()
|
-- active = function()
|
||||||
-- local mode, mode_hl = MiniStatusline.section_mode({ trunc_width = 120 })
|
-- local mode, mode_hl = MiniStatusline.section_mode({ trunc_width = 120 })
|
||||||
-- local git = MiniStatusline.section_git({ trunc_width = 40 })
|
-- local git = MiniStatusline.section_git({ trunc_width = 40 })
|
||||||
-- local diff = MiniStatusline.section_diff({ trunc_width = 75 })
|
-- local diff = MiniStatusline.section_diff({ trunc_width = 75 })
|
||||||
-- local diagnostics = MiniStatusline.section_diagnostics({ trunc_width = 75 })
|
-- local diagnostics = MiniStatusline.section_diagnostics({ trunc_width = 75 })
|
||||||
-- local lsp = MiniStatusline.section_lsp({ trunc_width = 75 })
|
-- local lsp = MiniStatusline.section_lsp({ trunc_width = 75 })
|
||||||
-- local filename = MiniStatusline.section_filename({ trunc_width = 140 })
|
-- local filename = MiniStatusline.section_filename({ trunc_width = 140 })
|
||||||
-- local fileinfo = MiniStatusline.section_fileinfo({ trunc_width = 120 })
|
-- local fileinfo = MiniStatusline.section_fileinfo({ trunc_width = 120 })
|
||||||
-- local location = MiniStatusline.section_location({ trunc_width = 75 })
|
-- local location = MiniStatusline.section_location({ trunc_width = 75 })
|
||||||
-- local search = MiniStatusline.section_searchcount({ trunc_width = 75 })
|
-- local search = MiniStatusline.section_searchcount({ trunc_width = 75 })
|
||||||
--
|
--
|
||||||
-- return MiniStatusline.combine_groups({
|
-- return MiniStatusline.combine_groups({
|
||||||
-- { hl = mode_hl, strings = { mode } },
|
-- { hl = mode_hl, strings = { mode } },
|
||||||
-- { hl = 'MiniStatuslineDevinfo', strings = { git, diagnostics, diff } },
|
-- { hl = 'MiniStatuslineDevinfo', strings = { git, diagnostics, diff } },
|
||||||
-- '%<', -- Mark truncation point
|
-- '%<', -- Mark truncation point
|
||||||
-- { hl = 'MiniStatuslineFilename', strings = { filename } },
|
-- { hl = 'MiniStatuslineFilename', strings = { filename } },
|
||||||
-- '%=', -- Fill rest of screen
|
-- '%=', -- Fill rest of screen
|
||||||
-- { hl = 'MiniStatuslineFileinfo', strings = { lsp, fileinfo } },
|
-- { hl = 'MiniStatuslineFileinfo', strings = { lsp, fileinfo } },
|
||||||
-- { hl = mode_hl, strings = { location } },
|
-- { hl = mode_hl, strings = { location } },
|
||||||
-- })
|
-- })
|
||||||
-- end,
|
-- end,
|
||||||
-- },
|
-- },
|
||||||
-- })
|
-- })
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,16 @@
|
|||||||
return { {
|
return {
|
||||||
'Mofiqul/dracula.nvim',
|
{
|
||||||
lazy = false,
|
'Mofiqul/dracula.nvim',
|
||||||
priority = 1000,
|
lazy = false,
|
||||||
},
|
priority = 1000,
|
||||||
{ "ellisonleao/gruvbox.nvim", priority = 1000 , config = true },
|
},
|
||||||
{ "rebelot/kanagawa.nvim", priority = 1000 , config = true },
|
{ 'ellisonleao/gruvbox.nvim', priority = 1000, config = true },
|
||||||
{
|
{ 'rebelot/kanagawa.nvim', priority = 1000, config = true },
|
||||||
|
{
|
||||||
'f4z3r/gruvbox-material.nvim',
|
'f4z3r/gruvbox-material.nvim',
|
||||||
name = 'gruvbox-material',
|
name = 'gruvbox-material',
|
||||||
lazy = false,
|
lazy = false,
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user