Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure under lua ? #89

Open
stephaneeybert opened this issue Apr 5, 2022 · 0 comments
Open

How to configure under lua ? #89

stephaneeybert opened this issue Apr 5, 2022 · 0 comments

Comments

@stephaneeybert
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant