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.complete = '.,w,b,kspell' -- Use less sources
|
||||||
vim.o.completeopt = 'menuone,noselect,fuzzy,nosort' -- Use custom behavior
|
vim.o.completeopt = 'menuone,noselect,fuzzy,nosort' -- Use custom behavior
|
||||||
|
|
||||||
|
-- Clipboard integration
|
||||||
|
vim.o.clipboard = 'unnamedplus'
|
||||||
|
|
||||||
-- Autocommands ===============================================================
|
-- Autocommands ===============================================================
|
||||||
|
|
||||||
-- Don't auto-wrap comments and don't insert comment leader after hitting 'o'.
|
-- 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.
|
-- 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`.
|
-- 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.
|
-- Extra 'mini.nvim' functionality.
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ now_if_args(function()
|
|||||||
vim.lsp.enable({
|
vim.lsp.enable({
|
||||||
'lua_ls',
|
'lua_ls',
|
||||||
'basedpyright',
|
'basedpyright',
|
||||||
|
'ruff',
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@@ -104,7 +105,10 @@ later(function()
|
|||||||
require('conform').setup({
|
require('conform').setup({
|
||||||
-- Map of filetype to formatters
|
-- Map of filetype to formatters
|
||||||
-- Make sure that necessary CLI tool is available
|
-- Make sure that necessary CLI tool is available
|
||||||
formatters_by_ft = { lua = { 'stylua' } },
|
formatters_by_ft = {
|
||||||
|
lua = { 'stylua' },
|
||||||
|
python = { 'ruff' }
|
||||||
|
},
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user