mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-09-01 16:26:16 +02:00
[LANG] add basic files for Fish (#968)
This commit is contained in:
parent
ebcb38d85b
commit
21c515d8e3
3 changed files with 35 additions and 0 deletions
3
ftdetect/fish.lua
Normal file
3
ftdetect/fish.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
vim.cmd [[
|
||||
au BufRead,BufNewFile *.fish set filetype=fish
|
||||
]]
|
4
ftplugin/fish.lua
Normal file
4
ftplugin/fish.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
require("lang.fish").format()
|
||||
require("lang.fish").lint()
|
||||
require("lang.fish").lsp()
|
||||
require("lang.fish").dap()
|
28
lua/lang/fish.lua
Normal file
28
lua/lang/fish.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
local M = {}
|
||||
|
||||
M.config = function()
|
||||
-- TODO: implement config for language
|
||||
return "No config available!"
|
||||
end
|
||||
|
||||
M.format = function()
|
||||
-- TODO: implement formatters (if applicable)
|
||||
return "No formatters configured!"
|
||||
end
|
||||
|
||||
M.lint = function()
|
||||
-- TODO: implement linters (if applicable)
|
||||
return "No linters configured!"
|
||||
end
|
||||
|
||||
M.lsp = function()
|
||||
-- TODO: implement lsp
|
||||
return "No LSP configured!"
|
||||
end
|
||||
|
||||
M.dap = function()
|
||||
-- TODO: implement dap
|
||||
return "No DAP configured!"
|
||||
end
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue