[nvim] add c and lua filetype settings

This commit is contained in:
David JULIEN 2021-10-30 15:31:39 +02:00
parent 05e1b49a20
commit 2a5d513a00
2 changed files with 18 additions and 0 deletions

View 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"

View 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"