remove debug-print

This commit is contained in:
Aleksey Kladov 2019-08-20 19:55:34 +03:00
parent deba1fedfa
commit 77751cfe01

View file

@ -217,7 +217,6 @@ impl ConvWith<(&LineIndex, LineEndings)> for &AtomTextEdit {
self, self,
(line_index, line_endings): (&LineIndex, LineEndings), (line_index, line_endings): (&LineIndex, LineEndings),
) -> lsp_types::TextEdit { ) -> lsp_types::TextEdit {
eprintln!("line_endings = {:?}", line_endings);
let mut new_text = self.insert.clone(); let mut new_text = self.insert.clone();
if line_endings == LineEndings::Dos { if line_endings == LineEndings::Dos {
new_text = new_text.replace('\n', "\r\n"); new_text = new_text.replace('\n', "\r\n");