Skip to content

Poor syntax highlighting and server load time after a minimal NVIM setup #845

@awa5114

Description

@awa5114

I've recently added the plugin to my windows nvim installation. Here are the steps I followed:

  • Installed vim-plug using

    iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
    ni "$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim" -Force

    as shown here.

  • Added Plug 'OmniSharp/omnisharp-vim' to my init.vim file

  • Ran :PlugInstall

  • Ran :OmniSharpInstall

Both PlugInstall and OmniSharpInstall seem to have run without any issues. My init.vim ended up looking like this:

au VimLeave * set guicursor= | call chansend(v:stderr, "\x1b[ q")
set number
set colorcolumn=88
set tabstop=3
set shiftwidth=3

call plug#begin()
Plug 'OmniSharp/omnisharp-vim'
call plug#end()

It appears to me that the installation went fine. However, there are two issues:

  1. It takes forever (>8 seconds) for the server to load when I open a simple CS file:

image

  1. There seems to be an issue with the syntax highlighting when I add a line after the server loads:

image

I'm hoping it's something wrong with my setup. Any pointers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions