We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1133b21 commit 1d121e0Copy full SHA for 1d121e0
test/test_vim.py
@@ -90,9 +90,15 @@ def test_vars(vim):
90
91
92
def test_options(vim):
93
- assert vim.windows[0].options['listchars'] == 'tab:> ,trail:-,nbsp:+'
94
- vim.windows[0].options['listchars'] = 'tab:xy'
95
- assert vim.windows[0].options['listchars'] == 'tab:xy'
+ assert vim.options['background'] == 'dark'
+ vim.options['background'] = 'light'
+ assert vim.options['background'] == 'light'
96
+
97
98
+def test_local_options(vim):
99
+ assert vim.windows[0].options['foldmethod'] == 'manual'
100
+ vim.windows[0].options['foldmethod'] = 'syntax'
101
+ assert vim.windows[0].options['foldmethod'] == 'syntax'
102
103
104
def test_buffers(vim):
0 commit comments