[nvim] add c and lua filetype settings
This commit is contained in:
parent
05e1b49a20
commit
2a5d513a00
9
.config/nvim/after/ftplugin/c.lua
Normal file
9
.config/nvim/after/ftplugin/c.lua
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
-- Author : swytch
|
||||||
|
-- Created : Saturday Oct. 30, 2021 11:43:34 CET
|
||||||
|
-- License : GPLv3
|
||||||
|
-- Description : c settings file
|
||||||
|
|
||||||
|
local opt = vim.opt
|
||||||
|
local g = vim.g
|
||||||
|
|
||||||
|
opt.formatoptions = "trq1jp"
|
9
.config/nvim/after/ftplugin/lua.lua
Normal file
9
.config/nvim/after/ftplugin/lua.lua
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
-- Author : swytch
|
||||||
|
-- Created : Saturday Oct. 30, 2021 11:43:21 CET
|
||||||
|
-- License : GPLv3
|
||||||
|
-- Description : lua settings file
|
||||||
|
|
||||||
|
local opt = vim.opt
|
||||||
|
local g = vim.g
|
||||||
|
|
||||||
|
opt.formatoptions = "trq1jp"
|
Reference in New Issue
Block a user