Dan Anglin
f2aa4651fa
Changes: - fix: replace on_attach and custom_attach with autocommand for LspAttach as recommended by the official documentation. - fix: enable inlay hints for gopls. - fix: add a keymap to toggle inlay hints for supported versions of neovim. - fix: customise the NormalFloat background colour. - fix: add LSP configuration for the Lua Language Server. - refactor: move the lint autocommand to lint.lua
16 lines
275 B
Lua
16 lines
275 B
Lua
local ok, tokyonight = pcall(require, "tokyonight")
|
|
|
|
if not ok then
|
|
return
|
|
end
|
|
|
|
tokyonight.setup {
|
|
style = "night",
|
|
sidebars = {"terminal"},
|
|
dim_inactive = true,
|
|
on_highlights = function(hl, c)
|
|
hl.NormalFloat = {
|
|
bg = "#394b70",
|
|
}
|
|
end,
|
|
}
|