From 0f5b67d355911459fbc711fc8e1af95eafd3b433 Mon Sep 17 00:00:00 2001 From: kalmenn Date: Sat, 22 Feb 2025 01:41:38 +0100 Subject: [PATCH] feat(rust): Set vim.opt_local.colorcolumn to 100 for rust files --- lua/plugins/languages/rust.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/languages/rust.lua b/lua/plugins/languages/rust.lua index e2278f0..f14a828 100644 --- a/lua/plugins/languages/rust.lua +++ b/lua/plugins/languages/rust.lua @@ -48,6 +48,7 @@ return { opts = { silent = true, buffer = bufnr } vim.keymap.set("n", "a", function() vim.cmd.RustLsp('codeAction') end, opts) vim.keymap.set("n", "K", function() vim.cmd.RustLsp({'hover', 'actions'}) end, opts) + vim.opt_local.colorcolumn = "100" end, default_settings = { ['rust-analyzer'] = {