You've already forked dotfiles
in LSP definitions for servers that are used, adding in a script to check for LSPs, removing some extraneous items in the tmux conf, moving autopairs to its own file
35 lines
666 B
Lua
35 lines
666 B
Lua
local function get_schema()
|
|
local schema = require('yaml-companion').get_buf_schema(0)
|
|
if schema.result[1].name == 'none' then
|
|
return ''
|
|
end
|
|
return schema.result[1].name
|
|
end
|
|
|
|
vim.pack.add({
|
|
'https://github.com/nvim-lualine/lualine.nvim'
|
|
})
|
|
|
|
require('lualine').setup {
|
|
tabline = {
|
|
lualine_a = {
|
|
'tabs',
|
|
},
|
|
lualine_z = {
|
|
'buffers',
|
|
}
|
|
},
|
|
sections = {
|
|
lualine_c = {
|
|
'filename',
|
|
'lsp_status',
|
|
},
|
|
lualine_x = {
|
|
'encoding',
|
|
'fileformat',
|
|
'filetype',
|
|
get_schema,
|
|
},
|
|
}
|
|
}
|