mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nvim/cmp: load snippets per filetype
This commit is contained in:
parent
b6522ffbba
commit
14bfbece87
4 changed files with 50 additions and 111 deletions
|
|
@ -3,3 +3,7 @@ opts.matchit_let_in()
|
|||
|
||||
vim.bo.shiftwidth = 2
|
||||
vim.bo.expandtab = true
|
||||
|
||||
local luasnip = require("luasnip")
|
||||
local haskell_snippets = require("haskell-snippets").all
|
||||
luasnip.add_snippets("haskell", haskell_snippets, { key = "haskell" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue