Beta (#4)
* remove doc/tags * use cmd instead of alias for clarity * use alias and proper checking of existing command installation * mason pkg name override * we still want to enforce local by default * remove unused on_attach since we have event to control it * fallback to using existing docker language servers * add yaml language server + remove table setup logging * write comment what symbol we expect * more notes * use mason-lspconfig for getting lsp->mason map and better utilities * use very lazy
This commit is contained in:
parent
115243d395
commit
2985d98684
7 changed files with 115 additions and 109 deletions
14
init.lua
14
init.lua
|
|
@ -226,7 +226,19 @@ local function DockerFileTypeDetectionAutoCommand()
|
|||
})
|
||||
end
|
||||
|
||||
DockerFileTypeDetectionAutoCommand()
|
||||
local function AddDockerFilesToFiletype()
|
||||
vim.filetype.add {
|
||||
filename = {
|
||||
['docker-compose.yml'] = 'yaml.docker-compose',
|
||||
['docker-compose.yaml'] = 'yaml.docker-compose',
|
||||
['compose.yml'] = 'yaml.docker-compose',
|
||||
['compose.yaml'] = 'yaml.docker-compose',
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
-- DockerFileTypeDetectionAutoCommand()
|
||||
AddDockerFilesToFiletype()
|
||||
|
||||
-- [[ Install `lazy.nvim` plugin manager ]]
|
||||
-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue