dotfiles/.config/nvim/lua/options.lua

30 lines
550 B
Lua
Raw Normal View History

2021-08-24 18:17:11 +02:00
local o = vim.opt
-- Indentation
o.smartindent = true
o.tabstop = 4
o.shiftwidth = 4
o.expandtab = true
o.backspace = "indent,eol,start"
-- Numbers
o.number = true
o.relativenumber = true
-- Theme
2021-09-04 09:37:05 +02:00
--require('onedark').setup()
--vim.cmd("colorscheme one-nvim")
vim.opt.termguicolors = true
vim.api.nvim_command 'colorscheme one-nvim'
2021-08-24 18:17:11 +02:00
-- Misc
o.mouse = 'a'
o.linebreak = true
o.backup = false
o.swapfile = false
o.showmode = true
o.termguicolors = true
2021-09-04 09:37:05 +02:00
o.updatetime = 1000
2021-12-02 10:35:31 +01:00
vim.api.nvim_exec('let g:languagetool_cmd="/usr/bin/languagetool"', true)