vim-eof-comment 0.3.14__tar.gz → 0.3.16__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/PKG-INFO +3 -3
  2. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/pyproject.toml +4 -11
  3. vim_eof_comment-0.3.16/version.txt +1 -0
  4. vim_eof_comment-0.3.16/vim_eof_comment/comments/filetypes.json +1 -0
  5. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/comments/generator.py +8 -1
  6. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/eof.py +5 -5
  7. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/file.py +3 -3
  8. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/types.py +6 -6
  9. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/types.pyi +6 -6
  10. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/version.py +2 -0
  11. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment.egg-info/PKG-INFO +3 -3
  12. vim_eof_comment-0.3.14/version.txt +0 -1
  13. vim_eof_comment-0.3.14/vim_eof_comment/comments/filetypes.json +0 -1
  14. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/.flake8 +0 -0
  15. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/.gitattributes +0 -0
  16. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/.github/CODEOWNERS +0 -0
  17. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/.github/workflows/flake8-lint.yml +0 -0
  18. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/.github/workflows/mypy-lint.yml +0 -0
  19. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/.github/workflows/release.yml +0 -0
  20. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/.github/workflows/vim-eof-comment.yml +0 -0
  21. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/.pre-commit-config.yaml +0 -0
  22. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/LICENSE +0 -0
  23. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/Makefile +0 -0
  24. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/Pipfile +0 -0
  25. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/README.md +0 -0
  26. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/docs/Makefile +0 -0
  27. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/docs/make.bat +0 -0
  28. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/docs/source/conf.py +0 -0
  29. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/docs/source/functions.rst +0 -0
  30. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/docs/source/index.rst +0 -0
  31. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/docs/source/installation.rst +0 -0
  32. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/requirements.txt +0 -0
  33. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/setup.cfg +0 -0
  34. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/taplo.toml +0 -0
  35. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/__init__.py +0 -0
  36. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/__init__.pyi +0 -0
  37. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/__main__.py +0 -0
  38. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/args/__init__.py +0 -0
  39. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/args/__init__.pyi +0 -0
  40. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/args/completion.py +0 -0
  41. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/args/completion.pyi +0 -0
  42. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/args/parsing.py +0 -0
  43. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/args/parsing.pyi +0 -0
  44. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/comments/__init__.py +0 -0
  45. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/comments/__init__.pyi +0 -0
  46. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/comments/generator.pyi +0 -0
  47. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/eof.pyi +0 -0
  48. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/file.pyi +0 -0
  49. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/py.typed +0 -0
  50. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/regex.py +0 -0
  51. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/regex.pyi +0 -0
  52. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/util.py +0 -0
  53. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/util.pyi +0 -0
  54. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment/version.pyi +0 -0
  55. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment.egg-info/SOURCES.txt +0 -0
  56. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment.egg-info/dependency_links.txt +0 -0
  57. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment.egg-info/entry_points.txt +0 -0
  58. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment.egg-info/requires.txt +0 -0
  59. {vim_eof_comment-0.3.14 → vim_eof_comment-0.3.16}/vim_eof_comment.egg-info/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vim-eof-comment
3
- Version: 0.3.14
4
- Summary: Adds Vim EOF comments for given filetypes in given directories
3
+ Version: 0.3.16
4
+ Summary: Adds Vim EOF modeline comments for given filetypes in given directories
5
5
  Author-email: Guennadi Maximov C <g.maxc.fox@protonmail.com>
6
6
  Maintainer-email: Guennadi Maximov C <g.maxc.fox@protonmail.com>
7
7
  License-Expression: GPL-2.0-only
8
+ Project-URL: Download, https://github.com/DrKJeff16/vim-eof-comment/releases/latest
8
9
  Project-URL: Issues, https://github.com/DrKJeff16/vim-eof-comment/issues
9
10
  Project-URL: Repository, https://github.com/DrKJeff16/vim-eof-comment
10
- Project-URL: Download, https://github.com/DrKJeff16/vim-eof-comment/releases/latest
11
11
  Keywords: eof comments,eof,files,preprocessing,text,vim modeline,vim,vim-eof
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: Environment :: Console
@@ -21,15 +21,8 @@ classifiers = [
21
21
  "Topic :: Utilities",
22
22
  "Typing :: Typed",
23
23
  ]
24
- dependencies = [
25
- "argcomplete",
26
- "argparse",
27
- "colorama",
28
- "setuptools",
29
- "typing",
30
- "wheel",
31
- ]
32
- description = "Adds Vim EOF comments for given filetypes in given directories"
24
+ dependencies = ["argcomplete", "argparse", "colorama", "setuptools", "typing", "wheel"]
25
+ description = "Adds Vim EOF modeline comments for given filetypes in given directories"
33
26
  keywords = [
34
27
  "eof comments",
35
28
  "eof",
@@ -46,15 +39,15 @@ maintainers = [{ name = "Guennadi Maximov C", email = "g.maxc.fox@protonmail.com
46
39
  name = "vim-eof-comment"
47
40
  readme = "README.md"
48
41
  requires-python = ">=3.10"
49
- version = "0.3.14"
42
+ version = "0.3.16"
50
43
 
51
44
  [project.scripts]
52
45
  vim-eof-comment = "vim_eof_comment.eof:main"
53
46
 
54
47
  [project.urls]
48
+ Download = "https://github.com/DrKJeff16/vim-eof-comment/releases/latest"
55
49
  Issues = "https://github.com/DrKJeff16/vim-eof-comment/issues"
56
50
  Repository = "https://github.com/DrKJeff16/vim-eof-comment"
57
- Download = "https://github.com/DrKJeff16/vim-eof-comment/releases/latest"
58
51
 
59
52
  [tool.numpydoc_validation]
60
53
  checks = [
@@ -0,0 +1 @@
1
+ 0.3.16
@@ -0,0 +1 @@
1
+ [{ "C": "/* {comment} */", "H": "/* {comment} */", "Makefile": "# {comment}", "bash": "# {comment}", "c": "/* {comment} */", "cc": "/* {comment} */", "cpp": "/* {comment} */", "css": "/* {comment} */", "fish": "# {comment}", "h": "/* {comment} */", "hh": "/* {comment} */", "hpp": "/* {comment} */", "htm": "<!-- {comment} -->", "html": "<!-- {comment} -->", "javascript": "/* {comment} */", "javascriptreact": "/* {comment} */", "js": "/* {comment} */", "jsx": "/* {comment} */", "latex": "% {comment}", "lua": "-- {comment}", "make": "# {comment}", "markdown": "<!-- {comment} -->", "md": "<!-- {comment} -->", "mk": "# {comment}", "py": "# {comment}", "pyi": "# {comment}", "python": "# {comment}", "rb": "# {comment}", "rs": "/* {comment} */", "ruby": "# {comment}", "rust": "/* {comment} */", "sh": "# {comment}", "tex": "% {comment}", "toml": "# {comment}", "ts": "/* {comment} */", "tsx": "/* {comment} */", "typescript": "/* {comment} */", "typescriptreact": "/* {comment} */", "xhtml": "<!-- {comment} -->", "xml": "<!-- {comment} -->", "yaml": "# {comment}", "yml": "# {comment}", "zsh": "# {comment}" }, { "C": { "level": 2, "expandtab": true }, "H": { "level": 2, "expandtab": true }, "Makefile": { "level": 4, "expandtab": false }, "bash": { "level": 4, "expandtab": true }, "c": { "level": 2, "expandtab": true }, "cc": { "level": 2, "expandtab": true }, "cpp": { "level": 2, "expandtab": true }, "css": { "level": 4, "expandtab": true }, "fish": { "level": 4, "expandtab": true }, "h": { "level": 2, "expandtab": true }, "hh": { "level": 2, "expandtab": true }, "hpp": { "level": 2, "expandtab": true }, "htm": { "level": 2, "expandtab": true }, "html": { "level": 2, "expandtab": true }, "javascript": { "level": 4, "expandtab": true }, "javascriptreact": { "level": 4, "expandtab": true }, "js": { "level": 4, "expandtab": true }, "jsx": { "level": 4, "expandtab": true }, "latex": { "level": 2, "expandtab": true }, "lua": { "level": 4, "expandtab": true }, "make": { "level": 4, "expandtab": false }, "markdown": { "level": 2, "expandtab": true }, "md": { "level": 2, "expandtab": true }, "mk": { "level": 4, "expandtab": false }, "py": { "level": 4, "expandtab": true }, "pyi": { "level": 4, "expandtab": true }, "python": { "level": 4, "expandtab": true }, "rb": { "level": 2, "expandtab": true }, "rs": { "level": 4, "expandtab": true }, "ruby": { "level": 2, "expandtab": true }, "rust": { "level": 4, "expandtab": true }, "sh": { "level": 4, "expandtab": true }, "tex": { "level": 2, "expandtab": true }, "toml": { "level": 4, "expandtab": true }, "ts": { "level": 4, "expandtab": true }, "tsx": { "level": 4, "expandtab": true }, "typescript": { "level": 4, "expandtab": true }, "typescriptreact": { "level": 4, "expandtab": true }, "xhtml": { "level": 2, "expandtab": true }, "xml": { "level": 2, "expandtab": true }, "yaml": { "level": 2, "expandtab": true }, "yml": { "level": 2, "expandtab": true }, "zsh": { "level": 4, "expandtab": true } }]
@@ -19,6 +19,8 @@ from colorama import init as color_init
19
19
  from ..types import IndentMap
20
20
  from ..util import die
21
21
 
22
+ COMMENT_STR: str = "vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:"
23
+
22
24
  _JSON_FILE: str = realpath("./vim_eof_comment/comments/filetypes.json")
23
25
 
24
26
  _BLUE: int = Fore.BLUE
@@ -49,8 +51,13 @@ def import_json() -> Tuple[Dict[str, str], Dict[str, IndentMap]]:
49
51
  file.close()
50
52
 
51
53
  result: Tuple[Dict[str, str], Dict[str, IndentMap]] = json.loads(data)
54
+ comments = result[0]
55
+ maps = result[1]
56
+
57
+ for k, v in comments.items():
58
+ comments[k] = v.format(comment=COMMENT_STR)
52
59
 
53
- return result[0], result[1]
60
+ return comments, maps
54
61
 
55
62
 
56
63
  _formats, _DEFAULT = import_json()
@@ -71,13 +71,13 @@ def eof_comment_search(
71
71
  ext: str = file["ft_ext"]
72
72
 
73
73
  wrapper = get_last_line(file_obj)
74
- last_line, has_nwl = wrapper["line"], wrapper["has_nwl"]
74
+ last_line, had_nwl = wrapper["line"], wrapper["had_nwl"]
75
75
 
76
76
  verbose_print(f"{_RESET} - {path} ==> ", verbose=verbose, end="", sep="")
77
- if last_line != comment_map[ext] or (newline and not has_nwl):
77
+ if last_line != comment_map[ext] or (newline and not had_nwl):
78
78
  verbose_print(f"{_BRIGHT}{_RED}CHANGED", verbose=verbose)
79
79
  result[path] = EOFCommentSearch(
80
- state=IOWrapperBool(file=open(path, "r"), has_nwl=has_nwl),
80
+ state=IOWrapperBool(file=open(path, "r"), had_nwl=had_nwl),
81
81
  lang=ext,
82
82
  match=matches(last_line, verbose)
83
83
  )
@@ -107,7 +107,7 @@ def append_eof_comment(
107
107
  comment_map = comments.generate()
108
108
  for path, file in files.items():
109
109
  file_obj = file["state"]["file"]
110
- has_nwl = file["state"]["has_nwl"]
110
+ had_nwl = file["state"]["had_nwl"]
111
111
  matching = file["match"]
112
112
  ext = file["lang"]
113
113
 
@@ -116,7 +116,7 @@ def append_eof_comment(
116
116
  comment_map,
117
117
  ext=ext,
118
118
  newline=newline,
119
- has_nwl=has_nwl,
119
+ had_nwl=had_nwl,
120
120
  matching=matching
121
121
  )
122
122
  file_obj = open(path, "w")
@@ -146,15 +146,15 @@ def get_last_line(file: TextIOWrapper) -> LineBool:
146
146
  data: List[str] = file.read().split("\n")
147
147
  file.close()
148
148
 
149
- has_newline, line = False, ""
149
+ had_newline, line = False, ""
150
150
  if len(data) <= 1:
151
151
  line = data[0]
152
152
  elif len(data) >= 2:
153
153
  line: str = data[-2]
154
154
 
155
155
  if len(data) >= 3:
156
- has_newline = data[-3] == ""
156
+ had_newline = data[-3] == ""
157
157
 
158
- return LineBool(line=line, has_nwl=has_newline)
158
+ return LineBool(line=line, had_nwl=had_newline)
159
159
 
160
160
  # vim: set ts=4 sts=4 sw=4 et ai si sta:
@@ -99,7 +99,7 @@ class IndentHandler(TypedDict):
99
99
 
100
100
  class IOWrapperBool(TypedDict):
101
101
  """
102
- A dict containing ``file`` and ``has_nwl`` as keys.
102
+ A dict containing ``file`` and ``had_nwl`` as keys.
103
103
 
104
104
  This is a ``TypedDict``-like object.
105
105
 
@@ -107,17 +107,17 @@ class IOWrapperBool(TypedDict):
107
107
  ----------
108
108
  file : TextIO
109
109
  The opened file as a ``TextIO`` wrapper.
110
- has_nwl : bool
110
+ had_nwl : bool
111
111
  Whether the file has a newline or not.
112
112
  """
113
113
 
114
114
  file: TextIO
115
- has_nwl: bool
115
+ had_nwl: bool
116
116
 
117
117
 
118
118
  class LineBool(TypedDict):
119
119
  """
120
- A dict containing ``line`` and ``has_nwl`` as keys.
120
+ A dict containing ``line`` and ``had_nwl`` as keys.
121
121
 
122
122
  This is a ``TypedDict``-like object.
123
123
 
@@ -125,12 +125,12 @@ class LineBool(TypedDict):
125
125
  ----------
126
126
  line : str
127
127
  The last line of the target file.
128
- has_nwl : bool
128
+ had_nwl : bool
129
129
  Whether the file has a newline or not.
130
130
  """
131
131
 
132
132
  line: str
133
- has_nwl: bool
133
+ had_nwl: bool
134
134
 
135
135
 
136
136
  class BatchPathDict(TypedDict):
@@ -73,7 +73,7 @@ class IndentHandler(TypedDict):
73
73
 
74
74
  class IOWrapperBool(TypedDict):
75
75
  """
76
- A dict containing ``file`` and ``has_nwl`` as keys.
76
+ A dict containing ``file`` and ``had_nwl`` as keys.
77
77
 
78
78
  This is a ``TypedDict``-like object.
79
79
 
@@ -81,15 +81,15 @@ class IOWrapperBool(TypedDict):
81
81
  ----------
82
82
  file : TextIO
83
83
  The opened file as a ``TextIO`` wrapper.
84
- has_nwl : bool
84
+ had_nwl : bool
85
85
  Whether the file has a newline or not.
86
86
  """
87
87
  file: TextIO
88
- has_nwl: bool
88
+ had_nwl: bool
89
89
 
90
90
  class LineBool(TypedDict):
91
91
  """
92
- A dict containing ``line`` and ``has_nwl`` as keys.
92
+ A dict containing ``line`` and ``had_nwl`` as keys.
93
93
 
94
94
  This is a ``TypedDict``-like object.
95
95
 
@@ -97,11 +97,11 @@ class LineBool(TypedDict):
97
97
  ----------
98
98
  line : str
99
99
  The last line of the target file.
100
- has_nwl : bool
100
+ had_nwl : bool
101
101
  Whether the file has a newline or not.
102
102
  """
103
103
  line: str
104
- has_nwl: bool
104
+ had_nwl: bool
105
105
 
106
106
  class BatchPathDict(TypedDict):
107
107
  """
@@ -221,6 +221,8 @@ version_info = VersionInfo([
221
221
  (0, 3, 12),
222
222
  (0, 3, 13),
223
223
  (0, 3, 14),
224
+ (0, 3, 15),
225
+ (0, 3, 16),
224
226
  ])
225
227
 
226
228
  __version__: str = str(version_info)
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vim-eof-comment
3
- Version: 0.3.14
4
- Summary: Adds Vim EOF comments for given filetypes in given directories
3
+ Version: 0.3.16
4
+ Summary: Adds Vim EOF modeline comments for given filetypes in given directories
5
5
  Author-email: Guennadi Maximov C <g.maxc.fox@protonmail.com>
6
6
  Maintainer-email: Guennadi Maximov C <g.maxc.fox@protonmail.com>
7
7
  License-Expression: GPL-2.0-only
8
+ Project-URL: Download, https://github.com/DrKJeff16/vim-eof-comment/releases/latest
8
9
  Project-URL: Issues, https://github.com/DrKJeff16/vim-eof-comment/issues
9
10
  Project-URL: Repository, https://github.com/DrKJeff16/vim-eof-comment
10
- Project-URL: Download, https://github.com/DrKJeff16/vim-eof-comment/releases/latest
11
11
  Keywords: eof comments,eof,files,preprocessing,text,vim modeline,vim,vim-eof
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: Environment :: Console
@@ -1 +0,0 @@
1
- 0.3.14
@@ -1 +0,0 @@
1
- [{ "C": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "H": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "Makefile": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "bash": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "c": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "cc": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "cpp": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "css": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "fish": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "h": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "hh": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "hpp": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "htm": "<!-- vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: -->", "html": "<!-- vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: -->", "javascript": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "javascriptreact": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "js": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "jsx": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "latex": "% vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "lua": "-- vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "make": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "markdown": "<!-- vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: -->", "md": "<!-- vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: -->", "mk": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "py": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "pyi": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "python": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "rb": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "rs": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "ruby": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "rust": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "sh": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "tex": "% vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "toml": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "ts": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "tsx": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "typescript": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "typescriptreact": "/* vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: */", "xhtml": "<!-- vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: -->", "xml": "<!-- vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta: -->", "yaml": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "yml": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:", "zsh": "# vim: set ts={ts} sts={sts} sw={sw} {et} ai si sta:" }, { "C": { "level": 2, "expandtab": true }, "H": { "level": 2, "expandtab": true }, "Makefile": { "level": 4, "expandtab": false }, "bash": { "level": 4, "expandtab": true }, "c": { "level": 2, "expandtab": true }, "cc": { "level": 2, "expandtab": true }, "cpp": { "level": 2, "expandtab": true }, "css": { "level": 4, "expandtab": true }, "fish": { "level": 4, "expandtab": true }, "h": { "level": 2, "expandtab": true }, "hh": { "level": 2, "expandtab": true }, "hpp": { "level": 2, "expandtab": true }, "htm": { "level": 2, "expandtab": true }, "html": { "level": 2, "expandtab": true }, "javascript": { "level": 4, "expandtab": true }, "javascriptreact": { "level": 4, "expandtab": true }, "js": { "level": 4, "expandtab": true }, "jsx": { "level": 4, "expandtab": true }, "latex": { "level": 2, "expandtab": true }, "lua": { "level": 4, "expandtab": true }, "make": { "level": 4, "expandtab": false }, "markdown": { "level": 2, "expandtab": true }, "md": { "level": 2, "expandtab": true }, "mk": { "level": 4, "expandtab": false }, "py": { "level": 4, "expandtab": true }, "pyi": { "level": 4, "expandtab": true }, "python": { "level": 4, "expandtab": true }, "rb": { "level": 2, "expandtab": true }, "rs": { "level": 4, "expandtab": true }, "ruby": { "level": 2, "expandtab": true }, "rust": { "level": 4, "expandtab": true }, "sh": { "level": 4, "expandtab": true }, "tex": { "level": 2, "expandtab": true }, "toml": { "level": 4, "expandtab": true }, "ts": { "level": 4, "expandtab": true }, "tsx": { "level": 4, "expandtab": true }, "typescript": { "level": 4, "expandtab": true }, "typescriptreact": { "level": 4, "expandtab": true }, "xhtml": { "level": 2, "expandtab": true }, "xml": { "level": 2, "expandtab": true }, "yaml": { "level": 2, "expandtab": true }, "yml": { "level": 2, "expandtab": true }, "zsh": { "level": 4, "expandtab": true } }]