From a4c7aeb53ff122bd6d481c7109f96d9433cc61ee Mon Sep 17 00:00:00 2001 From: Marco Dalla Stella Date: Tue, 13 Jan 2026 11:11:42 +0100 Subject: [PATCH] Small updates --- plugin/10_options.lua | 3 +++ plugin/30_mini.lua | 2 +- plugin/40_plugins.lua | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/plugin/10_options.lua b/plugin/10_options.lua index dc1f35a..7b3c5ec 100644 --- a/plugin/10_options.lua +++ b/plugin/10_options.lua @@ -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'. diff --git a/plugin/30_mini.lua b/plugin/30_mini.lua index c618ba1..c537188 100644 --- a/plugin/30_mini.lua +++ b/plugin/30_mini.lua @@ -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. -- diff --git a/plugin/40_plugins.lua b/plugin/40_plugins.lua index f83cf1c..75f73e2 100644 --- a/plugin/40_plugins.lua +++ b/plugin/40_plugins.lua @@ -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)