Small improvements

This commit is contained in:
MDS
2026-01-04 18:51:30 +01:00
parent bcabc31c48
commit b9f2867d9f
5 changed files with 56 additions and 1 deletions

View File

@@ -170,6 +170,8 @@ xmap_leader('lf', formatting_cmd, 'Format selection')
nmap_leader('or', '<Cmd>lua MiniMisc.resize_window()<CR>', 'Resize to default width')
nmap_leader('ot', '<Cmd>lua MiniTrailspace.trim()<CR>', 'Trim trailspace')
nmap_leader('oz', '<Cmd>lua MiniMisc.zoom()<CR>', 'Zoom toggle')
nmap_leader('om', '<Cmd>Mason<CR>', 'Open Mason')
nmap_leader('ou', '<Cmd>DepsUpdate<CR>', 'Update plugins')
-- s is for 'Session'. Common usage:
-- - `<Leader>sn` - start new session

View File

@@ -37,6 +37,11 @@ now_if_args(function()
'lua',
'vimdoc',
'markdown',
'yaml',
'toml',
'python',
'javascript',
'typst',
-- Add here more languages with which you want to use tree-sitter
-- To see available languages:
-- - Execute `:=require('nvim-treesitter').get_available()`
@@ -76,8 +81,8 @@ now_if_args(function()
-- Use `:h vim.lsp.config()` or 'after/lsp/' directory to configure servers.
-- Uncomment and tweak the following `vim.lsp.enable()` call to enable servers.
vim.lsp.enable({
-- -- For example, if `lua-language-server` is installed, use `'lua_ls'` entry
'lua_ls',
'basedpyright',
})
end)