Updated nvim config
This commit is contained in:
@@ -17,6 +17,9 @@ vim.o.swapfile = true
|
||||
vim.o.autochdir = true
|
||||
vim.o.scrolloff = 15
|
||||
|
||||
--Neovide Options
|
||||
vim.o.guifont = "CaskaydiaMono Nerd Font:h14"
|
||||
|
||||
-- Plugin Manager
|
||||
require("config.lazy")
|
||||
|
||||
@@ -25,9 +28,6 @@ vim.cmd.colorscheme("everforest")
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
|
||||
-- Binds
|
||||
vim.keymap.set("n", "<leader>f", function() vim.lsp.buf.format() end)
|
||||
|
||||
-- Autocompletion
|
||||
vim.diagnostic.config({ virtual_text = { current_line = true } })
|
||||
vim.lsp.enable({ "lua_ls", "rust_analyzer", "ts_ls", "pyright", "html", "cssls", "gopls", "lemminx" });
|
||||
|
||||
Reference in New Issue
Block a user