diff options
-rw-r--r-- | vim/init/basic.vim | 2 | ||||
-rw-r--r-- | vim/lazy/lazy.lua | 5 | ||||
-rw-r--r-- | vim/lazy/plugin/telescope.lua | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/vim/init/basic.vim b/vim/init/basic.vim index d4cf3e2..ab4e89b 100644 --- a/vim/init/basic.vim +++ b/vim/init/basic.vim | |||
@@ -189,7 +189,7 @@ endif | |||
189 | "---------------------------------------------------------------------- | 189 | "---------------------------------------------------------------------- |
190 | set foldenable " Allow fold | 190 | set foldenable " Allow fold |
191 | set foldmethod=indent " Fold contents by indent | 191 | set foldmethod=indent " Fold contents by indent |
192 | set foldlevel=99 " Expand all by default | 192 | set foldlevel=2 " Expand all by default |
193 | 193 | ||
194 | 194 | ||
195 | "---------------------------------------------------------------------- | 195 | "---------------------------------------------------------------------- |
diff --git a/vim/lazy/lazy.lua b/vim/lazy/lazy.lua index 47a0380..3925c36 100644 --- a/vim/lazy/lazy.lua +++ b/vim/lazy/lazy.lua | |||
@@ -197,7 +197,10 @@ require('lazy').setup({ | |||
197 | }, | 197 | }, |
198 | 198 | ||
199 | -- For beancount | 199 | -- For beancount |
200 | 'nathangrigg/vim-beancount', | 200 | { |
201 | 'nathangrigg/vim-beancount', | ||
202 | ft = { "beancount" }, | ||
203 | }, | ||
201 | 204 | ||
202 | -- NOTE: This is where your plugins related to LSP can be installed. | 205 | -- NOTE: This is where your plugins related to LSP can be installed. |
203 | -- The configuration is done below. Search for lspconfig to find it below. | 206 | -- The configuration is done below. Search for lspconfig to find it below. |
diff --git a/vim/lazy/plugin/telescope.lua b/vim/lazy/plugin/telescope.lua index f8947a2..0b4bbfc 100644 --- a/vim/lazy/plugin/telescope.lua +++ b/vim/lazy/plugin/telescope.lua | |||
@@ -71,7 +71,7 @@ end, { desc = '[/] Fuzzily search in current buffer' }) | |||
71 | 71 | ||
72 | -- For neovim config files | 72 | -- For neovim config files |
73 | vim.keymap.set('n', '<leader>sn', function() | 73 | vim.keymap.set('n', '<leader>sn', function() |
74 | require('telescope.builtin').find_files { | 74 | require('telescope.builtin').find_files { |
75 | cwd = vim.fn.stdpath 'config', | 75 | cwd = vim.fn.stdpath 'config', |
76 | follow = true | 76 | follow = true |
77 | } | 77 | } |