function! darkmodesocket#listenForLights() let pid = string(getpid()) let socket_name = '/tmp/nvim/nvim' . pid . '.sock' call mkdir('/tmp/nvim', 'p') call serverstart(socket_name) endfunction