Skip to content

Commit 02f7e02

Browse files
authored
Update README.md
1 parent 0c74890 commit 02f7e02

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
# coc-html-css-support
22

3-
> fork from a [ecmel/vscode-html-css](https://github.com/ecmel/vscode-html-css) | [HTML CSS Support](https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css)
3+
> fork from a [ecmel/vscode-html-css](https://github.com/ecmel/vscode-html-css) | [HTML CSS Support](https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css) | and the origin [yaegassy/coc-html-css-support](https://github.com/yaegassy/coc-html-css-support)
44
5-
HTML id and class attribute "completion" for [coc.nvim](https://github.com/neoclide/coc.nvim).
5+
HTML id and class attribute "completion" for [coc.nvim](https://github.com/neoclide/coc.nvim). With on workspace css finding
66

77
<img width="780" alt="coc-html-css-support-demo" src="https://user-images.githubusercontent.com/188642/116341049-2b5c8880-a81b-11eb-959e-2d03edda61fd.gif">
88

99
## Install
1010

11-
`:CocInstall coc-html-css-support`
11+
### Using Lazy
12+
```lua
13+
{
14+
"Hamadah2O2/coc-html-css-support",
15+
build = "yarn install --frozen-lockfile",
16+
config = function()
17+
vim.cmd([[autocmd BufWritePost *.css CocCommand html-css-support.dispose]]) -- Automate dispose html-css-support on css BufWritePost
18+
end
19+
}
20+
```
21+
22+
### Using CocInstall command
23+
`:CocInstall @hamadah2o2/coc-html-css-support`
1224

1325
## Features
1426

@@ -17,6 +29,7 @@ HTML id and class attribute "completion" for [coc.nvim](https://github.com/neocl
1729
- Supports template inheritance.
1830
- Supports additional style sheets.
1931
- Supports other HTML like languages.
32+
- Supports style sheets finding on current working directory.
2033
- Command to make `html.customData` built-in in `coc-html-css-support` available at the workspace level.
2134
- Require [coc-html](https://github.com/neoclide/coc-html)
2235

@@ -75,7 +88,8 @@ You can read more about customData in the following repositories.
7588

7689
## Thanks
7790

78-
- [ecmel/vscode-html-css](https://github.com/ecmel/vscode-html-css) : The origin of this repository.
91+
- [yaegassy/coc-html-css-support](https://github.com/yaegassy/coc-html-css-support)
92+
- [ecmel/vscode-html-css](https://github.com/ecmel/vscode-html-css) : The origin of yaegassy/coc-html-css-support repository.
7993

8094
## License
8195

0 commit comments

Comments
 (0)