aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin
AgeCommit message (Collapse)Author
2024-03-02crazyshitHEADmasterMichal Hanus
2023-06-13Add folding support for JSON filesjdhao
2022-11-15make filetype mapping localjdhao
Otherwise, the mapping will be global and leak to unrelated to files.
2022-10-27fix incorrect comment string for gitconfjdhao
2022-10-15use 2 spaces for tabs by defaultjdhao
This removes a lot of code duplication. If we want to use 4 spaces, we can set it separately in their ftplugin settings.
2022-10-11change tab size for sqljdhao
2022-09-25change sql comment stylejdhao
2022-08-23update delimitMate conf for luajdhao
2022-08-06add setup for javascriptjdhao
2022-05-09add mapping to run vim script filejdhao
2022-05-03add map to run lua filejdhao
2022-03-27[feat] add mapping to add hard linebreak for Markdownjdhao
2022-03-15working config for cmp-omni and vimtexjdhao
2022-03-14add cmp-omni for working with texjdhao
2022-02-28update tex confjdhao
2021-12-14update fold conf for vim scriptjdhao
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.
2021-12-04update default value of option 'wrap'jdhao
2021-09-03update delimitMate setting for Pythonjdhao
2021-08-21Do not auto-pair <> for C++jdhao
2021-08-12Use delimitMate instead of auto-pairsjdhao
2021-08-09Move ftplugin to after/ftpluginjdhao
Make my own settings have the final say on how a filetype should behave, instead of some 3rd party plugins.
2021-07-31chore: update docs and code for markdown list functionjdhao
2021-06-17update formatoptions for certain filetypesjdhao
2021-04-13update lua filetype settingsjdhao
2021-04-12update lua filetype settingsjdhao
2021-03-23Add more settings for cppjdhao
2021-02-23Add mappings for Markdownjdhao
Use + to turn lines to an unordered list quickly.
2021-01-17Use two spaces per tab for YAMLjdhao
2020-11-27update commentstring for cppjdhao
2020-11-26make mapping buffer localjdhao
2020-11-25Initial support for C++jdhao
2020-11-12update vim-markdownfootnote settingsjdhao
2020-11-12Add text objects for Markdown fenced code blocks.jdhao
2020-10-19add <C-U> in mappings that use command where appropriatejdhao
2020-10-11minor updatejdhao
2020-09-27use match(), replace obscure regex-match notationjdhao
2020-09-26change vim script style from 4-space indent to 2-spacejdhao
2020-09-26turn tab to spacesjdhao
2020-09-24fix style issues as per vintjdhao
2020-09-17use larger length for a line of codejdhao
2020-08-11fix markdownfootnote issue jdhao
see https://github.com/vim-pandoc/vim-markdownfootnotes/issues/22 for the details
2020-05-18update max syntax column for Markdownjdhao
This value is set to a large number mainly for long Chinese paragraphs. Since I do not want to hard-wrap long Chinese paragraphs, some paragraphs tend to be long in raw bytes.
2020-03-30chore: remove short url and replace with true urljdhao
2020-01-21Update python settingsjdhao
2020-01-01Revert change for Markdown filetypejdhao
2020-01-01Update options for Markdown filetypejdhao
2019-12-29Add toml supportjdhao
2019-12-15Change conceal settings for Markdownjdhao
2019-12-09Fix an issue with AsyncRun.vimjdhao
Change the output of Python from Buffered to Unbuffered so that we can see the command output immediately instead of waiting for the command to finish to see the output. See https://github.com/skywind3000/asyncrun.vim/wiki/FAQ#cant-see-the-realtime-output-when-running-a-python-script and https://stackoverflow.com/questions/107705/disable-output-buffering.
2019-12-06Add mapping for running Python script asynchronouslyjdhao