nvim/lua/settings/theme.lua
Fabian Schmidt 6a51019731 Don't remember what smartindent = true does
Theme looks like shit for html
Added tailwindcss lsp for future use
Add diagnostics shortcuts
2023-02-02 11:30:29 +01:00

52 lines
885 B
Lua

-- Theming
local theme = {}
function theme.initFont()
vim.opt.guifont = 'Source Code Pro for Powerline'
end
function theme.lsp_status()
require('fidget').setup {}
end
function theme.initStatusline()
require('lualine').setup {
options = {
theme = 'kanagawa'
}
}
end
function theme.initBufferline()
local bufferline = require 'bufferline'
bufferline.setup()
end
function theme.initColorscheme()
vim.g.limelight_conceal_ctermfg = 'gray'
vim.cmd 'colorscheme kanagawa'
vim.cmd 'set termguicolors'
vim.opt.syntax = 'on'
require('nvim-treesitter.configs').setup {
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
indent = {
enable = true,
disable = { "html" }
}
}
end
function theme.init()
theme.initFont()
theme.lsp_status()
theme.initStatusline()
theme.initBufferline()
theme.initColorscheme()
end
return theme