Changed some options
This commit is contained in:
parent
c010cc71d5
commit
51bd0843fa
24
init.lua
24
init.lua
|
|
@ -92,7 +92,13 @@ require('lazy').setup({
|
||||||
'folke/neodev.nvim',
|
'folke/neodev.nvim',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
-- {
|
||||||
|
-- "L3MON4D3/LuaSnip",
|
||||||
|
-- -- follow latest release.
|
||||||
|
-- version = "v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
|
||||||
|
-- -- install jsregexp (optional!).
|
||||||
|
-- build = "make install_jsregexp"
|
||||||
|
-- },
|
||||||
{
|
{
|
||||||
-- Autocompletion
|
-- Autocompletion
|
||||||
'hrsh7th/nvim-cmp',
|
'hrsh7th/nvim-cmp',
|
||||||
|
|
@ -234,6 +240,9 @@ vim.o.hlsearch = false
|
||||||
-- Make line numbers default
|
-- Make line numbers default
|
||||||
vim.wo.number = true
|
vim.wo.number = true
|
||||||
|
|
||||||
|
-- Set relativ line numbers
|
||||||
|
vim.wo.relativenumber = true
|
||||||
|
|
||||||
-- Enable mouse mode
|
-- Enable mouse mode
|
||||||
vim.o.mouse = 'a'
|
vim.o.mouse = 'a'
|
||||||
|
|
||||||
|
|
@ -447,12 +456,13 @@ end
|
||||||
-- If you want to override the default filetypes that your language server will attach to you can
|
-- 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.
|
-- define the property 'filetypes' to the map in question.
|
||||||
local servers = {
|
local servers = {
|
||||||
-- clangd = {},
|
clangd = {},
|
||||||
-- gopls = {},
|
gopls = {},
|
||||||
-- pyright = {},
|
julials = {},
|
||||||
-- rust_analyzer = {},
|
pyright = {},
|
||||||
-- tsserver = {},
|
rust_analyzer = {},
|
||||||
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
|
tsserver = {},
|
||||||
|
html = { filetypes = { 'html', 'twig', 'hbs'} },
|
||||||
|
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue