Add configuration for listening on server so we can autoreload using remote api

This commit is contained in:
Alex Selimov 2025-09-12 08:17:42 -04:00
parent 84e339864c
commit f3da5674fe
No known key found for this signature in database
GPG key ID: BC03C17FF5CFFFD2
2 changed files with 5 additions and 0 deletions

View file

@ -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())