Files
dotfiles/nvim/init.lua
2025-09-08 21:50:10 +01:00

39 lines
734 B
Lua

require("doloro")
vim.opt.number = true
vim.opt.bg = light
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.termguicolors = true
vim.g.mapleader = ' '
vim.pack.add{
{ src = "https://github.com/comfysage/lynn.nvim", name = "lynn" }
}
local pack = require("lynn")
pack.setup("doloro.plugins")
-- add lsp's as i need
vim.lsp.enable({'lua_ls', 'rust_analyzer', 'html'})
opts = {
settings = {
html = {
format = {
templating = true,
wrapLineLength = 120,
wrapAttributes = 'auto',
},
hover = {
documentation = true,
references = true,
},
},
},
}
-- vim.notify('config loaded', vim.log.levels.INFO)
vim.keymap.set('n', '<leader>v', ':NvimTreeFocus<CR>')