chore(lazy): add ansiblels, azure_pipelines_ls, and bashls
Changes: - Add ansiblels - Add azure_pipelines_ls - Add bashls
This commit is contained in:
		
							parent
							
								
									c95cd2d0b3
								
							
						
					
					
						commit
						99e6a983ff
					
				
							
								
								
									
										47
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										47
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -635,6 +635,47 @@ require('lazy').setup({
 | 
				
			||||||
      --  - settings (table): Override the default settings passed when initializing the server.
 | 
					      --  - settings (table): Override the default settings passed when initializing the server.
 | 
				
			||||||
      --        For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
 | 
					      --        For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
 | 
				
			||||||
      local servers = {
 | 
					      local servers = {
 | 
				
			||||||
 | 
					        -- ansiblels
 | 
				
			||||||
 | 
					        ansiblels = {
 | 
				
			||||||
 | 
					          filetypes = { 'yaml', 'yaml.ansible' },
 | 
				
			||||||
 | 
					          settings = {
 | 
				
			||||||
 | 
					            ansible = {
 | 
				
			||||||
 | 
					              ansibleLint = {
 | 
				
			||||||
 | 
					                enabled = true,
 | 
				
			||||||
 | 
					                path = 'ansible-lint',
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					              ansible = {
 | 
				
			||||||
 | 
					                path = 'ansible',
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					              python = {
 | 
				
			||||||
 | 
					                interpreterPath = 'python3',
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        -- azure_pipelines_ls
 | 
				
			||||||
 | 
					        azure_pipelines_ls = {
 | 
				
			||||||
 | 
					          filetypes = { 'yml', 'yaml.azure-pipelines' },
 | 
				
			||||||
 | 
					          settings = {
 | 
				
			||||||
 | 
					            azurePipelines = {
 | 
				
			||||||
 | 
					              schema = {
 | 
				
			||||||
 | 
					                url = 'https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json',
 | 
				
			||||||
 | 
					              },
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        -- bashls
 | 
				
			||||||
 | 
					        bashls = {
 | 
				
			||||||
 | 
					          filetypes = { 'sh', 'zsh' },
 | 
				
			||||||
 | 
					          settings = {
 | 
				
			||||||
 | 
					            bash = {
 | 
				
			||||||
 | 
					              filetypes = { 'sh', 'zsh' },
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        -- clangd = {},
 | 
					        -- clangd = {},
 | 
				
			||||||
        gopls = {
 | 
					        gopls = {
 | 
				
			||||||
          gofumpt = true,
 | 
					          gofumpt = true,
 | 
				
			||||||
| 
						 | 
					@ -646,7 +687,6 @@ require('lazy').setup({
 | 
				
			||||||
            run_govulncheck = true,
 | 
					            run_govulncheck = true,
 | 
				
			||||||
            test = true,
 | 
					            test = true,
 | 
				
			||||||
            tidy = true,
 | 
					            tidy = true,
 | 
				
			||||||
            tidy = true,
 | 
					 | 
				
			||||||
            vendor = true,
 | 
					            vendor = true,
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          hints = {
 | 
					          hints = {
 | 
				
			||||||
| 
						 | 
					@ -1138,8 +1178,9 @@ require('lazy').setup({
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- Better copy-paste between vim and system clipboard
 | 
					-- Better copy-paste between vim and system clipboard
 | 
				
			||||||
vim.api.nvim_set_keymap('v', '<C-c>', '"+y', { noremap = true, silent = true })
 | 
					vim.api.nvim_set_keymap('v', '<C-c>', '"+y', { noremap = true, silent = true, desc = 'Copy to system clipboard' })
 | 
				
			||||||
vim.api.nvim_set_keymap('n', '<C-v>', '"+p', { noremap = true, silent = true })
 | 
					vim.api.nvim_set_keymap('n', '<C-v>', '"+p', { noremap = true, silent = true, desc = 'Paste from system clipboard' })
 | 
				
			||||||
 | 
					vim.api.nvim_set_keymap('i', '<C-v>', '<C-r>+', { noremap = true, silent = true, desc = 'Paste from system clipboard in insert mode' })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- The line beneath this is called `modeline`. See `:help modeline`
 | 
					-- The line beneath this is called `modeline`. See `:help modeline`
 | 
				
			||||||
-- vim: ts=2 sts=2 sw=2 et
 | 
					-- vim: ts=2 sts=2 sw=2 et
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue