mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
plugins/emmet: switch to settings option
This commit is contained in:
parent
d8432ef9c1
commit
d149f46b00
2 changed files with 94 additions and 39 deletions
|
@ -7,34 +7,36 @@
|
|||
plugins.emmet = {
|
||||
enable = true;
|
||||
|
||||
mode = "inv";
|
||||
leader = "<C-Z>";
|
||||
settings = {
|
||||
variables = {
|
||||
lang = "ja";
|
||||
};
|
||||
html = {
|
||||
default_attributes = {
|
||||
option = {value = null;};
|
||||
textarea = {
|
||||
id = null;
|
||||
name = null;
|
||||
cols = 10;
|
||||
rows = 10;
|
||||
};
|
||||
mode = "inv";
|
||||
leader = "<C-Z>";
|
||||
settings = {
|
||||
variables = {
|
||||
lang = "ja";
|
||||
};
|
||||
snippets = {
|
||||
"html:5" = ''
|
||||
<!DOCTYPE html>
|
||||
<html lang=\"$\{lang}\">
|
||||
<head>
|
||||
\t<meta charset=\"$\{charset}\">
|
||||
\t<title></title>
|
||||
\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
</head>
|
||||
<body>\n\t$\{child}|\n</body>
|
||||
</html>
|
||||
'';
|
||||
html = {
|
||||
default_attributes = {
|
||||
option = {value = null;};
|
||||
textarea = {
|
||||
id = null;
|
||||
name = null;
|
||||
cols = 10;
|
||||
rows = 10;
|
||||
};
|
||||
};
|
||||
snippets = {
|
||||
"html:5" = ''
|
||||
<!DOCTYPE html>
|
||||
<html lang=\"$\{lang}\">
|
||||
<head>
|
||||
\t<meta charset=\"$\{charset}\">
|
||||
\t<title></title>
|
||||
\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
||||
</head>
|
||||
<body>\n\t$\{child}|\n</body>
|
||||
</html>
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue