dotfiles/nvim/init.lua

38 lines
935 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

local options = vim.o -- For the globals options
local window_options = vim.wo -- For the window local options
local buffer_options = vim.bo -- For the buffer local options
-- window_options.colorcolumn = [[100]]
options.termguicolors = true
options.clipboard = 'unnamed,unnamedplus'
options.timeoutlen = 300
options.mouse = 'a'
options.undodir = vim.fn.expand('~/.cache/vim/undo')
options.listchars = 'tab:▸ ,extends:,precedes:'
window_options.relativenumber = true
window_options.list = true
buffer_options.autoindent = true
buffer_options.expandtab = true
buffer_options.softtabstop = 4
buffer_options.shiftwidth = 4
buffer_options.tabstop = 4
buffer_options.smartindent = true
buffer_options.modeline = true
buffer_options.undofile = true
vim.g.mapleader = ' '
-- Load utilities
require('kalle.utils')
-- Load plugins
require('kalle.plugins')
-- Load config
require('kalle.config')
vim.cmd('colorscheme nightfox')