<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim_config.git/after/ftplugin/vim.vim, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.mikehanus.xyz/nvim_config.git/atom?h=master</id>
<link rel='self' href='https://git.mikehanus.xyz/nvim_config.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/'/>
<updated>2024-03-02T17:49:55Z</updated>
<entry>
<title>crazyshit</title>
<updated>2024-03-02T17:49:55Z</updated>
<author>
<name>Michal Hanus</name>
<email>hanus.michal@divelit.cz</email>
</author>
<published>2024-03-02T17:49:55Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=aab38f32e0a02e43565a554d0a76ff65636499b8'/>
<id>urn:sha1:aab38f32e0a02e43565a554d0a76ff65636499b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make filetype mapping local</title>
<updated>2022-11-14T17:10:26Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2022-11-14T17:08:56Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=074d2bbdfdbdb0ce0d7631a3b9406bd172e0d851'/>
<id>urn:sha1:074d2bbdfdbdb0ce0d7631a3b9406bd172e0d851</id>
<content type='text'>
Otherwise, the mapping will be global and leak to unrelated to files.
</content>
</entry>
<entry>
<title>use 2 spaces for tabs by default</title>
<updated>2022-10-15T03:28:15Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2022-10-15T03:26:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=3539207913f6ecf8ce11a9d59f35ab82349a399b'/>
<id>urn:sha1:3539207913f6ecf8ce11a9d59f35ab82349a399b</id>
<content type='text'>
This removes a lot of code duplication. If we want to use 4 spaces, we
can set it separately in their ftplugin settings.
</content>
</entry>
<entry>
<title>add mapping to run vim script file</title>
<updated>2022-05-09T14:10:35Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2022-05-09T14:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=a9be0d0b209d91079a2e1f404cadc1e0880f4281'/>
<id>urn:sha1:a9be0d0b209d91079a2e1f404cadc1e0880f4281</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update fold conf for vim script</title>
<updated>2021-12-14T13:48:58Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2021-12-14T13:48:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=5215a601b9221f8b2276a9bbc7cc7f0e5f78d556'/>
<id>urn:sha1:5215a601b9221f8b2276a9bbc7cc7f0e5f78d556</id>
<content type='text'>
When setting foldlevel to 0 and load some plugin via InsertEnter event
using packer.nvim, if we press i to go to insert mode, the fold for vim
script file will be automatically closed. It is really annoying.

I have pinpoint the issue to the combination of packer.nvim and setting
foldlevel to 0 in after/ftplugin/vim.vim. What is interesting is that
default value for foldlevel is also 0. However, if we do not set it in
vim.vim, the above issue won't occur, which is strange.
</content>
</entry>
<entry>
<title>Use delimitMate instead of auto-pairs</title>
<updated>2021-08-11T16:51:44Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2021-08-11T16:51:44Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=37e9487076d3fec7c26850ed50fbe33caae71665'/>
<id>urn:sha1:37e9487076d3fec7c26850ed50fbe33caae71665</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update formatoptions for certain filetypes</title>
<updated>2021-06-16T16:21:15Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2021-06-16T16:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=7ace83853411c27133b5052946150dc7348954f5'/>
<id>urn:sha1:7ace83853411c27133b5052946150dc7348954f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use match(), replace obscure regex-match notation</title>
<updated>2020-09-27T12:57:02Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2020-09-27T12:57:02Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=2d843076955b5978a9a6ce4ec1f647bdb1133275'/>
<id>urn:sha1:2d843076955b5978a9a6ce4ec1f647bdb1133275</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change vim script style from 4-space indent to 2-space</title>
<updated>2020-09-26T01:15:40Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2020-09-26T01:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=b65c7c6d702ba0371e917066b55a58cf14f2d1bb'/>
<id>urn:sha1:b65c7c6d702ba0371e917066b55a58cf14f2d1bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix style issues as per vint</title>
<updated>2020-09-24T15:01:10Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2020-09-24T15:01:10Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=00cbed4cdcd17d0e1f6587aed92144cc6634349c'/>
<id>urn:sha1:00cbed4cdcd17d0e1f6587aed92144cc6634349c</id>
<content type='text'>
</content>
</entry>
</feed>
