lualinechange
This commit is contained in:
@@ -11,6 +11,7 @@ return {
|
||||
require("mason-lspconfig").setup({
|
||||
ensure_installed={
|
||||
"lua_ls",
|
||||
"glslls"
|
||||
--"ts_ls",
|
||||
--"jsonls",
|
||||
--"pylsp",
|
||||
@@ -59,6 +60,9 @@ return {
|
||||
vim.lsp.config['clangd']={
|
||||
vim.lsp.enable('clangd')
|
||||
}
|
||||
vim.lsp.config['glslls']={
|
||||
vim.lsp.enable('glslls')
|
||||
}
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,59 @@ return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
config = function()
|
||||
require('lualine').setup({
|
||||
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
theme = 'nightfly',
|
||||
}
|
||||
})
|
||||
component_separators = { left = '', right = ''},
|
||||
section_separators = { left = '', right = ''},
|
||||
disabled_filetypes = {
|
||||
statusline = {},
|
||||
winbar = {},
|
||||
},
|
||||
ignore_focus = {},
|
||||
always_divide_middle = true,
|
||||
always_show_tabline = true,
|
||||
globalstatus = false,
|
||||
refresh = {
|
||||
statusline = 1000,
|
||||
tabline = 1000,
|
||||
winbar = 1000,
|
||||
refresh_time = 16, -- ~60fps
|
||||
events = {
|
||||
'WinEnter',
|
||||
'BufEnter',
|
||||
'BufWritePost',
|
||||
'SessionLoadPost',
|
||||
'FileChangedShellPost',
|
||||
'VimResized',
|
||||
'Filetype',
|
||||
'CursorMoved',
|
||||
'CursorMovedI',
|
||||
'ModeChanged',
|
||||
},
|
||||
}
|
||||
},
|
||||
sections = {
|
||||
lualine_a = {'mode'},
|
||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
||||
lualine_c = {'filename'},
|
||||
lualine_x = {'lsp_status', 'encoding', 'fileformat', 'filetype'},
|
||||
lualine_y = {'progress'},
|
||||
lualine_z = {'location'}
|
||||
},
|
||||
inactive_sections = {
|
||||
lualine_a = {},
|
||||
lualine_b = {},
|
||||
lualine_c = {'filename'},
|
||||
lualine_x = {'location'},
|
||||
lualine_y = {},
|
||||
lualine_z = {}
|
||||
},
|
||||
tabline = {},
|
||||
winbar = {},
|
||||
inactive_winbar = {},
|
||||
extensions = {}
|
||||
}
|
||||
)
|
||||
end
|
||||
}
|
||||
|
||||
@@ -8,6 +8,9 @@ return {
|
||||
"3rd/image.nvim"
|
||||
},
|
||||
config=function()
|
||||
vim.keymap.set('n', '<C-n>', ':Neotree filesystem reveal left<CR>', {})
|
||||
vim.keymap.set('n', '<C-n>', ':Neotree filesystem toggle left<CR>', {})
|
||||
require("neo-tree").setup({
|
||||
enable_git_status=false,
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ return {
|
||||
--TREESITTER
|
||||
local config = require("nvim-treesitter.configs")
|
||||
config.setup({
|
||||
ensure_installed ={"lua", "c", "python", "cpp", "typescript", "javascript", "html", "json", "json5"},
|
||||
ensure_installed ={"lua", "c", "python", "cpp", "glsl", "typescript", "javascript", "html", "json", "json5"},
|
||||
highlight ={enable=true},
|
||||
indent ={ disable=true },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user