feat(rust): Set vim.opt_local.colorcolumn to 100 for rust files

This commit is contained in:
kalmenn 2025-02-22 01:41:38 +01:00
parent 5efa930fee
commit 0f5b67d355
Signed by: kalmenn
GPG key ID: F500055C44BC3834

View file

@ -48,6 +48,7 @@ return {
opts = { silent = true, buffer = bufnr }
vim.keymap.set("n", "<leader>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'] = {