dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

opts.lua (853B)


      1 vim.o.encoding = "utf-8"
      2 vim.o.fileencoding = "utf-8"
      3 vim.opt.spell = true
      4 vim.opt.spelllang = { "en", "de" }
      5 vim.opt.spellfile = vim.fn.expand("~/.config/nvim/spell/en.utf-8.add")
      6 vim.opt.spellfile = vim.fn.expand("~/.config/nvim/spell/de.utf-8.add")
      7 
      8 -------------------------------------------------------------
      9 
     10 vim.opt.clipboard = "unnamedplus"
     11 
     12 -------------------------------------------------------------
     13 
     14 vim.opt.tabstop = 4
     15 vim.opt.shiftwidth = 4
     16 vim.opt.expandtab = true
     17 vim.opt.smartindent = false
     18 vim.opt.wrap = false
     19 
     20 -------------------------------------------------------------
     21 
     22 vim.opt.number = true
     23 vim.opt.relativenumber = true
     24 
     25 -------------------------------------------------------------
     26 
     27 vim.opt.swapfile = false
     28 vim.opt.backup = false
     29 
     30 -------------------------------------------------------------
     31 
     32 vim.opt.termguicolors = true
     33