semantic-highlight.vim icon indicating copy to clipboard operation
semantic-highlight.vim copied to clipboard

How to configure under lua ?

Open stephaneeybert opened this issue 2 years ago • 0 comments

I was looking into how to configure the plugin under lua and could not see anything.

Something along the line of:

 local status_ok, semantic = pcall(require, "semantic")    
     
 if not status_ok then    
   return    
 end    
     
 semantic.setup {    
 }

I have a working keymap: keymap("n", "<leader>sh", "<cmd>SemanticHighlightToggle<CR>", opts)

But I would like to enable it by default, without having to toggle it.

stephaneeybert avatar Apr 05 '22 16:04 stephaneeybert