16 lines
415 B
Lua
16 lines
415 B
Lua
require "nvchad.options"
|
|
|
|
vim.opt.colorcolumn = "80"
|
|
vim.wo.relativenumber = true
|
|
|
|
vim.opt.spell = true
|
|
vim.opt.spelllang = { "en_us", "cs" }
|
|
|
|
vim.api.nvim_create_autocmd("FileType", {
|
|
pattern = "java",
|
|
command = "setlocal tabstop=4 shiftwidth=4 expandtab",
|
|
})
|
|
|
|
vim.keymap.set("v", "<", "<gv", { desc = "Keep selection after outdent" })
|
|
vim.keymap.set("v", ">", ">gv", { desc = "Keep selection after indent" })
|