feat: add after/ftplugin for lua, python, rust

This commit is contained in:
Matej Janezic 2025-10-08 01:37:02 +02:00
parent 62699be903
commit 279be9ce33
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
3 changed files with 7 additions and 0 deletions

5
after/ftplugin/lua.lua Normal file
View File

@ -0,0 +1,5 @@
vim.keymap.set("n", "<leader><leader>x", "<cmd>source %<CR>")
vim.keymap.set("n", "<leader>x", ":.lua<CR>")
vim.keymap.set("v", "<leader>x", ":lua<CR>")
vim.opt_local.colorcolumn = { 81 }

View File

@ -0,0 +1 @@
vim.opt_local.colorcolumn = { 80, 81, 89 }

1
after/ftplugin/rust.lua Normal file
View File

@ -0,0 +1 @@
vim.opt_local.colorcolumn = { 80, 100 }