dotfiles/home/private_dot_config/nvim/lua/settings.lua
Daylin Morgan 5acfc464dc refactor fzf.zsh
WIP

wip: add whitespace that isn't tidy.nvim
2022-01-24 12:57:45 -06:00

36 lines
631 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- general settings
local o = vim.o
local w = vim.wo
local b = vim.bo
vim.g.mapleader = ' '
b.autoindent = true
b.expandtab = true
b.softtabstop = 4
b.shiftwidth = 4
b.tabstop = 4
b.smartindent = true
b.modeline = false
b.shiftwidth = 4
b.tabstop = 4
b.smartindent = true
b.modeline = false
o.swapfile = false
o.scrolloff = 5
o.updatetime = 300
w.number = true
if vim.fn.has('multi_byte') == 1 and vim.o.encoding == 'utf-8' then
o.listchars = [[tab:▸ ,extends:,precedes:,nbsp:±,trail:…]]
else
o.listchars = [[tab:> ,extends:>,precedes:<,nbsp:.,trail:_]]
end
o.timeoutlen = 300
vim.cmd[[colorscheme dracula]]