mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-05 04:55:18 +00:00
nvim: set rpy to python filetype
This commit is contained in:
parent
f4430c9fb2
commit
5315ed748a
|
@ -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',
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue