Skip to content

Commit

Permalink
remove unnecessary ftplugin file
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Nov 20, 2023
1 parent 7b35ca0 commit 384af36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion ftplugin/markdown.vim

This file was deleted.

2 changes: 2 additions & 0 deletions lua/obsidian/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ obsidian.setup = function(opts)
vim.keymap.set("n", mapping_keys, mapping_config.action, mapping_config.opts)
end

vim.cmd [[ setlocal suffixesadd+=.md ]]

if opts.completion.nvim_cmp then
-- Inject Obsidian as a cmp source when reading a buffer in the vault.
local cmp = require "cmp"
Expand Down

0 comments on commit 384af36

Please sign in to comment.