Merge remote-tracking branch 'origin' into feature/tune
This commit is contained in:
		
						commit
						fd6cc1d405
					
				|  | @ -55,7 +55,7 @@ Additional system requirements: | |||
| * Inside of your copy, feel free to modify any file you like! It's your copy! | ||||
| * Feel free to change any of the default options in `init.lua` to better suit your needs. | ||||
| * For adding plugins, there are 3 primary options: | ||||
|   * Add new configuration in `lua/custom/plugins/*` files, which will be auto sourced using `lazy.nvim` | ||||
|   * Add new configuration in `lua/custom/plugins/*` files, which will be auto sourced using `lazy.nvim` (uncomment the line importing the `custom/plugins` directory in the `init.lua` file to enable this) | ||||
|   * Modify `init.lua` with additional plugins. | ||||
|   * Include the `lua/kickstart/plugins/*` files in your configuration. | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										9
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										9
									
								
								init.lua
								
								
								
								
							|  | @ -110,7 +110,7 @@ require('lazy').setup({ | |||
|   -- Useful plugin to show you pending keybinds. | ||||
|   { 'folke/which-key.nvim', opts = {} }, | ||||
|   { | ||||
|     -- Adds git releated signs to the gutter, as well as utilities for managing changes | ||||
|     -- Adds git related signs to the gutter, as well as utilities for managing changes | ||||
|     'lewis6991/gitsigns.nvim', | ||||
|     opts = { | ||||
|       -- See `:help gitsigns.txt` | ||||
|  | @ -429,12 +429,16 @@ end | |||
| -- | ||||
| --  Add any additional override configuration in the following tables. They will be passed to | ||||
| --  the `settings` field of the server config. You must look up that documentation yourself. | ||||
| -- | ||||
| --  If you want to override the default filetypes that your language server will attach to you can | ||||
| --  define the property 'filetypes' to the map in question. | ||||
| local servers = { | ||||
|   -- clangd = {}, | ||||
|   -- gopls = {}, | ||||
|   -- pyright = {}, | ||||
|   -- rust_analyzer = {}, | ||||
|   -- tsserver = {}, | ||||
|   -- html = { filetypes = { 'html', 'twig', 'hbs'} }, | ||||
| 
 | ||||
|   lua_ls = { | ||||
|     Lua = { | ||||
|  | @ -464,8 +468,9 @@ mason_lspconfig.setup_handlers { | |||
|       capabilities = capabilities, | ||||
|       on_attach = on_attach, | ||||
|       settings = servers[server_name], | ||||
|       filetypes = (servers[server_name] or {}).filetypes, | ||||
|     } | ||||
|   end, | ||||
|   end | ||||
| } | ||||
| 
 | ||||
| -- [[ Configure nvim-cmp ]] | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue