dotfiles/.config/nvim/lua/settings.lua

30 lines
585 B
Lua
Raw Normal View History

2021-04-20 14:34:02 +02:00
local cmd = vim.cmd
local o = vim.o
local wo = vim.wo
local g = vim.g
2021-11-05 17:44:11 +01:00
cmd "syntax on"
2021-04-20 14:34:02 +02:00
o.tabstop = 4
o.shiftwidth = 4
o.expandtab = true
wo.number = true
2021-10-08 23:37:19 +02:00
o.guifont = "Iosevka:h10"
2021-04-20 14:34:02 +02:00
o.mouse = "a"
o.termguicolors = true
2021-04-28 18:20:25 +02:00
wo.cursorline = true
wo.cursorcolumn = true
2021-04-20 14:34:02 +02:00
g.airline_powerline_fonts = 1
2021-06-26 23:30:51 +02:00
g.neoterm_default_mod = "tab"
2021-04-20 14:34:02 +02:00
g.neovide_iso_layout = true
2021-11-05 17:44:11 +01:00
cmd "colorscheme dracula"
2021-04-20 14:34:02 +02:00
-- Highlight the symbol and its references when holding the cursor.
2021-11-05 17:44:11 +01:00
cmd "autocmd CursorHold * silent call CocActionAsync('highlight')"
2021-04-20 14:34:02 +02:00
2021-11-05 17:44:11 +01:00
cmd "autocmd StdinReadPre * let s:std_in=1"
2021-04-20 14:34:02 +02:00
2021-11-05 17:44:11 +01:00
cmd "filetype plugin on"