Skip to content

pontusk/cmp-sass-variables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmp-sass-variables

Nvim cmp source for Sass variables.

If vim.g.sass_variables_file is set, variables in that file will available globally. Set it to a file name. The working directory will be searched for a file with that name.

Variables are also found in the current file and any imported files.

Setup

-- optionally
vim.g.sass_variables_file = "_variables.scss"

require'cmp'.setup {
  sources = {
    { name = 'sass-variables' }
  }
}

Requirements

Unix like system, cmp and Telescope.

About

Nvim-cmp completion source for Sass variables

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages