Add configuration for listening on server so we can autoreload using remote api
This commit is contained in:
parent
84e339864c
commit
f3da5674fe
2 changed files with 5 additions and 0 deletions
3
init.lua
3
init.lua
|
@ -19,3 +19,6 @@ require("lazy").setup({
|
|||
-- Load additional configuration
|
||||
require("colorizer").setup()
|
||||
require("config.formatting")
|
||||
|
||||
-- Add configuration to listen so we can live reload
|
||||
pcall(vim.fn.serverstart, vim.fn.stdpath("run") .. "/nvim-" .. vim.fn.getpid())
|
||||
|
|
|
@ -9,6 +9,8 @@ return {
|
|||
config = function()
|
||||
if vim.g.light_mode then
|
||||
vim.o.background = "light"
|
||||
else
|
||||
vim.o.background = "dark"
|
||||
end
|
||||
vim.cmd.colorscheme("zenbones")
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue