add ocaml support
This commit is contained in:
		
							parent
							
								
									f9683f98d6
								
							
						
					
					
						commit
						6199d6c9cd
					
				
							
								
								
									
										4
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										4
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -285,7 +285,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
 | 
			
		|||
-- See `:help nvim-treesitter`
 | 
			
		||||
require('nvim-treesitter.configs').setup {
 | 
			
		||||
  -- Add languages to be installed here that you want installed for treesitter
 | 
			
		||||
  ensure_installed = { 'c', 'go', 'gomod', 'gosum', 'gowork', 'lua', 'vimdoc', 'vim', 'clojure', 'commonlisp' },
 | 
			
		||||
  ensure_installed = { 'c', 'go', 'gomod', 'gosum', 'gowork', 'lua', 'vimdoc', 'vim', 'clojure', 'commonlisp', 'ocaml' },
 | 
			
		||||
 | 
			
		||||
  -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
 | 
			
		||||
  auto_install = true,
 | 
			
		||||
| 
						 | 
				
			
			@ -414,7 +414,7 @@ local servers = {
 | 
			
		|||
  -- tsserver = {},
 | 
			
		||||
  -- html = { filetypes = { 'html', 'twig', 'hbs'} },
 | 
			
		||||
  clojure_lsp = {},
 | 
			
		||||
 | 
			
		||||
  ocamllsp = {},
 | 
			
		||||
  lua_ls = {
 | 
			
		||||
    Lua = {
 | 
			
		||||
      workspace = { checkThirdParty = false },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue