summaryrefslogtreecommitdiff
path: root/lua/config/set.lua
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-09-28 13:56:51 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-09-28 13:56:51 +0200
commite5e772e86adf16c60105361e62fcc8a9abf7ead1 (patch)
tree7875dbc4b990c63a905b0c85d22fec005879f2c8 /lua/config/set.lua
parentb7a7a40ff171aa2e6b7db87736f2c9f777aa464b (diff)
added formatoptoins and textwidth
Diffstat (limited to 'lua/config/set.lua')
-rw-r--r--lua/config/set.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/config/set.lua b/lua/config/set.lua
index 6a0edd2..08c5d26 100644
--- a/lua/config/set.lua
+++ b/lua/config/set.lua
@@ -62,6 +62,7 @@ opt.clipboard = "unnamed"
opt.showmatch = false
-- highlight line at cursor
opt.cursorline = true
+opt.textwidth = 100
-- status line
-- show ruler
@@ -84,7 +85,7 @@ opt.smartindent = true
opt.scrolloff = 8
opt.spelllang = "en_us,nl"
-opt.formatoptions = "cqrnj"
+opt.formatoptions = "tocqrnj"
-- Get the current working directory, replace the $HOME portion of the path with ~,
-- and extract the last three directories