diff --git a/nvim/lua/opt.lua b/nvim/lua/opt.lua index ca16d41..452f86f 100644 --- a/nvim/lua/opt.lua +++ b/nvim/lua/opt.lua @@ -2,6 +2,7 @@ vim.opt.background = 'dark' vim.opt.clipboard = 'unnamedplus' vim.opt.colorcolumn = '85' vim.opt.mouse = 'a' + vim.opt.shiftwidth = 4 vim.opt.textwidth = 0 vim.opt.wrapmargin = 0 @@ -15,3 +16,9 @@ vim.opt.smartcase = true vim.opt.smartindent = true vim.opt.termguicolors = true vim.opt.wrap = false + +vim.filetype.add{ + extension = { + rpy = 'python', + } +}