nixos-config/modules/workstation/home-manager/neovim/luaconfig/settings.lua

18 lines
331 B
Lua

-- Set line numbers
vim.opt.number = true
-- Replace tab with whitespaces
vim.opt.expandtab = true
-- Set tabs as 4 whitespaces
vim.opt.tabstop = 4
-- Set indentation adaptability
vim.opt.autoindent = true
-- Set default level of identation
vim.opt.shiftwidth = 4
-- Use the system clipboard
vim.opt.clipboard = 'unnamedplus'