lualinechange
This commit is contained in:
@@ -11,6 +11,7 @@ return {
|
|||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
ensure_installed={
|
ensure_installed={
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
|
"glslls"
|
||||||
--"ts_ls",
|
--"ts_ls",
|
||||||
--"jsonls",
|
--"jsonls",
|
||||||
--"pylsp",
|
--"pylsp",
|
||||||
@@ -59,6 +60,9 @@ return {
|
|||||||
vim.lsp.config['clangd']={
|
vim.lsp.config['clangd']={
|
||||||
vim.lsp.enable('clangd')
|
vim.lsp.enable('clangd')
|
||||||
}
|
}
|
||||||
|
vim.lsp.config['glslls']={
|
||||||
|
vim.lsp.enable('glslls')
|
||||||
|
}
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,10 +2,59 @@ return {
|
|||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
require('lualine').setup({
|
require('lualine').setup({
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
icons_enabled = true,
|
||||||
theme = 'nightfly',
|
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
|
end
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ return {
|
|||||||
"3rd/image.nvim"
|
"3rd/image.nvim"
|
||||||
},
|
},
|
||||||
config=function()
|
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
|
end
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ return {
|
|||||||
--TREESITTER
|
--TREESITTER
|
||||||
local config = require("nvim-treesitter.configs")
|
local config = require("nvim-treesitter.configs")
|
||||||
config.setup({
|
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},
|
highlight ={enable=true},
|
||||||
indent ={ disable=true },
|
indent ={ disable=true },
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user