diff options
author | Squibid <me@zacharyscheiman.com> | 2025-05-08 18:18:34 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-05-08 18:18:34 -0500 |
commit | 7430ebed8eab0364452a6cdcaa209f8a7288e44d (patch) | |
tree | cd80b99c41c4af92c7a130fe52ca462062697d22 /after/ftplugin/norg.lua | |
parent | 7c3289fded1f75f6e060f56bd06edc2a327744d9 (diff) | |
download | nvim-3.0.tar.gz nvim-3.0.tar.bz2 nvim-3.0.zip |
kitchen sink now don't support any version lower than 0.11.0 for lspv3.0
- dap now works for java and c
Diffstat (limited to 'after/ftplugin/norg.lua')
-rw-r--r-- | after/ftplugin/norg.lua | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/after/ftplugin/norg.lua b/after/ftplugin/norg.lua deleted file mode 100644 index fc69be9..0000000 --- a/after/ftplugin/norg.lua +++ /dev/null @@ -1,28 +0,0 @@ -local misc = require('core.misc') - --- make sure norg parsers are installed before opening a norg file, currently --- there are two parsers: norg, and norg_meta -local found = {} -found[0] = 0 -- used to store the number of elements in the table - --- check for the parsers -misc.loopf(vim.fn.stdpath("data").."/site/pack/deps/opt/nvim-treesitter/parser", - function(file) - if string.find(file, "norg") then - found[file] = true - found[0] = found[0] + 1 - end -end, "so") - --- if the parsers don't exist download them -if found[0] < 2 and - (not found["norg.so"] or not found["norg_meta.so"]) then - vim.cmd("Neorg sync-parsers") -end - --- set colorcolumn in norg buffers -vim.opt_local.colorcolumn = { 80 } - --- make text wrap at the colorcolumn automatically -vim.api.nvim_set_option_value("textwidth", - tonumber(vim.api.nvim_get_option_value("colorcolumn", {})), { buf = 0 }) |