Merge 'upstream/master' fixup style, lua lsp snippets

fixup: updated some style stuff
feat: enable lua lsp snipppets
This commit is contained in:
Damjan 9000
2024-03-01 11:09:32 +01:00
3 changed files with 17 additions and 15 deletions

View File

@@ -20,9 +20,15 @@ return {
-- Simple and easy statusline.
-- You could remove this setup call if you don't like it,
-- and try some other statusline plugin
require('mini.statusline').setup()
MiniStatusline.section_location = function()
return '%2l:%-2v'
local statusline = require 'mini.statusline'
statusline.setup()
-- You can confiure sections in the statusline by overriding their
-- default behavior. For example, here we disable the section for
-- cursor information because line numbers are already enabled
---@diagnostic disable-next-line: duplicate-set-field
statusline.section_location = function()
return ''
end
-- ... and there is more!