Small updates
This commit is contained in:
@@ -85,6 +85,9 @@ vim.o.formatlistpat = [[^\s*[0-9\-\+\*]\+[\.\)]*\s\+]]
|
||||
vim.o.complete = '.,w,b,kspell' -- Use less sources
|
||||
vim.o.completeopt = 'menuone,noselect,fuzzy,nosort' -- Use custom behavior
|
||||
|
||||
-- Clipboard integration
|
||||
vim.o.clipboard = 'unnamedplus'
|
||||
|
||||
-- Autocommands ===============================================================
|
||||
|
||||
-- Don't auto-wrap comments and don't insert comment leader after hitting 'o'.
|
||||
|
||||
@@ -118,7 +118,7 @@ now(function() require('mini.statusline').setup() end)
|
||||
|
||||
-- Tabline. Sets `:h 'tabline'` to show all listed buffers in a line at the top.
|
||||
-- Buffers are ordered as they were created. Navigate with `[b` and `]b`.
|
||||
now(function() require('mini.tabline').setup() end)
|
||||
-- now(function() require('mini.tabline').setup() end)
|
||||
|
||||
-- Extra 'mini.nvim' functionality.
|
||||
--
|
||||
|
||||
@@ -83,6 +83,7 @@ now_if_args(function()
|
||||
vim.lsp.enable({
|
||||
'lua_ls',
|
||||
'basedpyright',
|
||||
'ruff',
|
||||
})
|
||||
end)
|
||||
|
||||
@@ -104,7 +105,10 @@ later(function()
|
||||
require('conform').setup({
|
||||
-- Map of filetype to formatters
|
||||
-- Make sure that necessary CLI tool is available
|
||||
formatters_by_ft = { lua = { 'stylua' } },
|
||||
formatters_by_ft = {
|
||||
lua = { 'stylua' },
|
||||
python = { 'ruff' }
|
||||
},
|
||||
})
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user